Alsee
6 posts
|
Topic: Kongregate Labs /
Gah! The class or interface 'Ship' could not be loaded.
I’m doing shootorial and I’ve bumped into this rather unclear error several times. Here’s how I fixed it:
Basically the “Symbol=X” part is telling you that it is looking for the name X somewhere and not finding it. Either the matching X item doesn’t exist yet, or it does exist and the name doesn’t match. The name won’t match if you forget to put a name on it, if you gave it a different name, or if you misspell the name. Note that ActionScript is very picky that CAPITALIZATION must match exactly. !!!This means “Ship” and “ship” fail to match!!!
When you import graphics (like the ship) you’ll need two entries in the library. You’ll have the Ship.png and the symbol Ship. The Ship.png does not need any export properties. Check the properties on the symbol copy. Make sure the symbol is exported for ActionScript and exported for frame 1. Then check how everything is named. I’m not sure if these all have to match, but I have the Name, Identifier, and Class all exactly matching “Ship”. Double and triple check the capitalization, that killed me more than once. That should give you a Ship.as file, if not then fix your .as name to match too. Later in the Shootorial will mention an “instance” name and direct you to place a different name onto the picture of the ship sitting on the stage. The Shootorial tells you to name it “ship” – note the lowercase. The capitalization difference can be extremely easy to miss and it can create confusion.
Using both capital “Ship” and lowercase “ship” makes it too easy to type the wrong one, and even worse you can spend a ridiculous amount of time looking for the problem and not seeing it. When you label the stage-instance of the ship I strongly suggest using the name it something like “ShipInstance” instead of “ship”. Later on you will have code outside of Ship that wants to access Ship’s variables and functions. The Shootorial code for that will be “_root.ship.whatever”, but if you take my advice here then you will need to rewrite that code as “_root.ShipInstance.whatever”. The “_root” accesses the stage level, the “ShipInstance” gets you into the specific copy of the ship (in theory there could more than one), and then the “whatever” would be the name of one of Ship’s variables or functions.
When you draw a graphic inside the Flash software, like in the the Missile lesson, you will only have ONE entry in the library. The Flash-vector-drawing of the Missile becomes part of the Missile symbol. You still have to check properties to sure things are exported properly and check that the property names match just like above. The only difference is that there’s no second library entry to name match.
|
|
|
cjs2012
1 post
|
Topic: Kongregate Labs /
Where Can i download a full free flash game maker?
This post has been removed by an administrator or moderator
|
|
|
michaelJoe
11 posts
|
Topic: Kongregate Labs /
Why?: Game file filename is not valid (for Unity3D upload)
can you tell me a valid name?
both kirby and fling the guy messes up. please help.
|
|
|
michaelJoe
11 posts
|
Topic: Kongregate Labs /
Why?: Game file filename is not valid (for Unity3D upload)
Originally posted by UnknownGuardian:
Originally posted by danoc2010:
When I try to upload any of my games it keeps saying “Game Filename is Invald”
What type is your file? Kong only accepts .dcr (shockwave, and I think that is the right extension), .swf, and .unity3d
|
|
|
jirkhfs
1 post
|
Topic: Kongregate Labs /
Mario online
Prompt please: and there is in general Mario online, because I remember back in childhood, at dandy played a game of Mario, like climbing on the Internet, found nothing there at all podskadite online Mario game?
|
|
|
jhayzxenon
2 posts
|
Topic: Kongregate Labs /
New Shootorial
i support this.
been struggling trying all the platform tutorials(flash,video, text)
but they don’t tell anything step by step like how shootorial does
|
|
|
BobTheCoolGuy
2555 posts
|
Topic: Kongregate Labs /
Crash bandicoot Like flash game ?
:D I loved the original Crash Bandicoot games. And this post is definitely on topic!
|
|
|
CatiaS1
212 posts
|
Topic: Kongregate Labs /
Crash bandicoot Like flash game ?
Let’s see… i wanted!!! FOR SURE!!!!!!!!!!!
But the problem is: How are you doing it? Principaly the Character Models…
You may ask for help.
Stats
Consoles: PS2 and PSP (maybe PlayStation too)
Region: PAL/NTSC-US (Downloaded)
Crash Bandicoot Games Played: 10
Names: Crash 1, 2, 3, Team Racing, The Wrath of Cortex, Twinsanity, Nitro Kart, Tag Team Racing, Mind Over Mutant, Titans
Crash Bandicoot 1 is Playable (PS2)
Crash Bandicoot 2: Cortex Strikes Back is Broken Disc/Unplayable (PS2)
Crash Bandicoot 3: Warped is Downloaded (Computer)
Crash Team Racing is Downloaded (Computer)
Crash Bandicoot: The Wrath of Cortex → Playable (PS2)
Crash Nitro Kart → Playable (PS2)
Crash Twinsanity → Unplayable (PS2) | Playable (Computer → PCSX2)
Crash Tag Team Racing → Unplayable (PS2 + PSP)
Crash of the Titans → Very Slow/Unplayable (PS2) | Playable (PSP)
Crash Mind Over Mutant → Unknown Reason/Unplayable (PS2)
|
|
|
Draco18s
5885 posts
|
Topic: Kongregate Labs /
Shoot Mobile doesn't work?
And nevermind, problem located.
I thought I’d commented/removed the site locking code, but apparently not.
Derp.
|
|
|
siq1ne
1 post
|
Topic: Kongregate Labs /
New Shootorial
Third. Also, a TD would be very, very nice!! I love Tower Defense. Always wanted to create one
|
|
|
Draco18s
5885 posts
|
Topic: Kongregate Labs /
Shoot Mobile doesn't work?
Trying to use the shoot mobile source as a launching point and the source code that is supplied doesn’t seem to function when I run it on my PC. Am I missing something?
Even the supplied compiled swf does not appear to be functional.
|
|
|
13islucky
47 posts
|
Topic: Kongregate Labs /
Flash Develop
Not many out there friend. FlashDevelop is a lone beast in a hard, unforgiving flash world. The best I’ve found was http://flashdeveloptutorial.blogspot.com/
Best of luck,
13islucky
|
|
|
Wordblind
1053 posts
|
Topic: Kongregate Labs /
Background Music Looping problem
Yes, starting the sound every frame is probably a bad idea. You will want to start and stop the sound in locations that will only be triggered at specific times: constructors, button-click listeners, level start and finish handlers, etc. The best location will depend on how your program is structured.
For the looping, you’ll either want to specify a large number number of loops when calling start() or to restart the sound in the sound’s onSoundComplete listener.
EDIT: I didn’t realize what forum this was in, so you might get more specific information from someone who has gone through the Shootorials.
|
|
|
crapageddon
22 posts
|
Topic: Kongregate Labs /
Shootorial #6 Health bar wont work
There were posts at the bottom of the actual tutorial page that solved this issue for me.
|
|
|
crapageddon
22 posts
|
|
|
|
GreatManBear
37 posts
|
Topic: Kongregate Labs /
Shootorials #0, #1, and #2 with Free Tools - mtasc and swfmill
This is fantastic, and I’m curious, in the time since this topic started has anyone gone all the way and actually submitted a game to Kong that was developed this way?
I’ve been going through the Shootorials and it seems like one notable drawback of this method is the fact that you have to update Shoot.xml every time you expand the number of classes you use. I have a few questions about this.
Does that xml file have problems when the total complexity of the project grows significantly? Like, in the ‘Shoot!’ example, the enemies are stored as an array. Is my understanding correct that this wouldn’t affect what you have to put in the xml file because you only have to put the EnemyShip class in there?
And hypothetically, couldn’t your put everything in your game in just one class, and then you won’t ever have to update that file? Ok, I know it’s a stupid question! Just tell me why not.
Maybe you explained this, but I still don’t understand how we create those weird png.svn-base files. They seem to be duplicated in 2 folders, with even a lost looking “tmp” directory. Of course we have them all for the Shootorial, but again, what if someone wants to do more work with this? Ok, I’m guessing, but you probably just copy the png files and add “.svn-base”. Wait, that’s obviously what you do. So every image needs to be copied to 2 additional locations while the same does not apply for sounds. It’s just so strange.
|
|
|
crapageddon
22 posts
|
Topic: Kongregate Labs /
Background Music Looping problem
My background music is looping repeatedly so that it creates an echo of noise. Pretty sure this is because it’s in ‘OnEnterFrame’. Is there a way to make sure your BG music plays through once, before repeating. I followed the method in lesson 8 but they don’t show you where in the code they placed this particular bit of code. Ideas? Suggestions?
|
|
|
ryanator88
5 posts
|
Topic: Kongregate Labs /
uploading a game
Go to the upload page
|
|
|
alphabetpuke
1 post
|
Topic: Kongregate Labs /
Game Ideas
Me and a few guys I met were playing Swords and Potions and we came up with an idea of a game that would be good.
a lot like it but there’s guards that work like thugs but only defense against thugs
(and assassins that try to kill your merchant therefore ending the game for you)
more shops available instead of four, but still a maximum of four.
Some shop ideas are Wizard – Sells more items that are not related to dark magic like the sorcerer does.
Butcher – Makes food and other items related to that.
Bartender – sells drinks and stuff, obviously.
And with the bartender add a little drinking area that can be purchased through upgrades.
An arena area where people can test their fighting powers through combat.
And also make people stop asking for items you can’t craft unless you actually have them.
Give people names instead of naming them “Guard” or “Knight, Bard, Archer” etc.
Increase graphics quality a little bit if possible.
Let the merchant be able to walk out and get to know customers and learn some of their qualities,
traits, and how easy it is to haggle them and such through conversation. also let the merchant go to another store and
request to buy something that you can sell at your store (or a recipe).
Add a function that would allow the player to change the price of an item(always show a reccomendation of price)
When a crafter crafts an item there should be Quality of the item determining how much it would sell for and how
often it will be asked for by a customer. Quality can increase 1%-3% each time the item is crafted.
include a coffee table, chairs, etc. that can be bought for customers to wait less time in line.
And you can create items and do things that could get you arrested, shutting down your shop for a few game days
which sets you back with level per day and still takes rent money.
Evolution, where once you reach a certain point in level and money you can choose if you want to advance to the next era.
Eras – Beginning – Medieval – Gunpowder – Advanced Gunpowder – Modern – Tech – Advanced Tech – Futuristic
Customers can be drunk and they are easier to haggle and easier to suggest other items to.
Some customers talk to you so you can learn about them, you can ask them questions and your thug could listen in
and gain intel about other shops and different abilities to be able to thug better.
A thug will come in once and a while and pick a fight with your thug or your guards and if they win your guard or thug is dead/ injured
witch would change how much you want to train them.
|
|
|
mage424046
9 posts
|
Topic: Kongregate Labs /
Game Ideas
a strategy-war game like warzone 2060 but witht co-op and/or multiplayer so you can have 2 vs 2 and 1 vs 1 vs 1 and stuff? and something for if soemoen quits and leaves and you have to fight 2 people at once? and finally a map editor :D i’d play that game every day :)
|
|
|
lSWATLLAMA
128 posts
|
Topic: Kongregate Labs /
Why?: Game file filename is not valid (for Unity3D upload)
Danoc2010, read some of the faq’s on the site and on the forums. Then come back and tell us what you found out.
|
|
|
bb9345
1 post
|
|
|
|
omer_baig
1 post
|
|
|
|
ceaslessjord...
1 post
|
Topic: Kongregate Labs /
uploading a game
how do i upload a game and i need to know how to upload the game please reply ASAP
|
|
|
jimbex
2 posts
|
Topic: Kongregate Labs /
Kongregate Intro
nevermind. added timer event and removechild(loaded intro). works like a charm :)
|