vesperbot
1848 posts
|
Topic: Game Programming /
Using music in my game
does loading a Sound object from a MIDI automatically parse it?
|
|
|
vesperbot
1848 posts
|
Topic: Game Programming /
Error #1063: Argument Error
Originally posted by Ace_Blue:
Please post the entire constructChildren() function. If you can get a line number for where the error is located, take a look there too. Something as simple as a blank initialization (something like private var truck:iceTruck = new iceTruck();) could have caused this error. The line you quoted could not.
constructChildren() is an internal function of class DisplayObjectContainer. which calls all pre-placed children constructors with 0 arguments. So yes, TS has an iceTruck instance pre-placed somewhere.
|
|
|
vesperbot
1848 posts
|
Topic: General Gaming /
Match3 in 3D
Nice, but has a potential for head damage. Also, is it possible to lose in there?
|
|
|
vesperbot
1848 posts
|
Topic: General Gaming /
Official - Enigmata 2: Genu's Revenge
Originally posted by AlainR:
how do you get the legendary key
how do you type question marks
You just wait for it to appear while replaying levels. AKA grind for it.
|
|
|
vesperbot
1848 posts
|
Topic: Game Programming /
Deeper Topic (part 4): Examples and advanced techniques
A scheduler component could exist, it may accept a 2D array as parameter set.
Scheduler([['jump',70],['fire',25],['barrelroll',119]]);
And just iterate through your array with the equal amount of counters within Scheduler, if reached 0, dispatch the corresponding event.
|
|
|
vesperbot
1848 posts
|
Topic: GemCraft Labyrinth /
Passed my first endurance mode
If you would go with a very big lime/orange in a trap, you’ll find out that it fills a certain percentage of a mana pool per shot, regardless of pool size. So what’s there with 7M for +4k, if the next shot of that gem will get that many mana back so you can use it again for another +4k? If you would look at a neighboring thread, one had managed to get mana pool in the 1e12 range, aka 1000G mana.
Still, it’s good that you’ve got the hang of how to beat endurance. You ma now try enabling WGTF and playing another level, for another 200+ levels.
|
|
|
vesperbot
1848 posts
|
Topic: General Gaming /
best game for...
Four Second Frenzy, I think, if it’s something for a minute or less. If the wait is about ten minutes, like in some browser games, anything turn based will do.
Also, with CS you won’t have to wait for long, it’ll be better if you stayed in game.
|
|
|
vesperbot
1848 posts
|
Topic: Kongregate /
How to Get Free Kreds for Europe
There’s a video available to watch and get some kreds. Nice I’d say. “Fake seatbelting”, jeez is that what’s bothering people the most? While it’s a problem indeed.
|
|
|
vesperbot
1848 posts
|
Topic: Game Programming /
Deeper Topic (part 2): Composition over inheritance
Given this structure, you have to add components in a certain order, depending on their use of “entity.getComponent()”. I’d say it’s not as good as it can be. Probably, it’ll be better to have an entity an “assemble” method which is called after all components are added, so thath they “sniff” at the entity and initiate intercomponent links. Say, this method can call each component’s “attached(this)” method, probably along with preventing addition of more components (might not be needed).
|
|
|
vesperbot
1848 posts
|
Topic: Kongregate /
First!
no, the one who’ll get 9001th place will. spoils fun
|
|
|
vesperbot
1848 posts
|
Topic: Game Programming /
Deeper Topic (part 2): Composition over inheritance
I wonder, if an entity will have a BitmapData component, but no Position component – won’t it result in a crash of the entire project?
|
|
|
vesperbot
1848 posts
|
Topic: Sonny 2 /
Sonny 2 Zone 6 and 7
Tenacity is not required as badly, because you can always make Roald and Veradux heal you with their Greater Purpose+Heal combo, once you make both of them to defencive stance (both at once, ofc). This can work with Veradux, while indeed it’ll be better if he won’t throw electrobolts against enemy. For this, get Insecurity 4/4 and plain whack enemy with this if your combo missed, so that the bastard won’t heal back. Also, with a complete combo, the enemy gets one or two attacks vs your team (two if it moves first), thus you can turn both kids to defencive to heal the one who got hit, and proceed with combo. Veradux will likely run out of focus for electrobolts while healing the team, so he will not interfere with your retrograding.
|
|
|
vesperbot
1848 posts
|
Topic: Game Programming /
Loading images not working
No code – no answer. Most likely it’s security context related error. Second most likely is that your URLRequest returns a 404.
|
|
|
vesperbot
1848 posts
|
Topic: Game Programming /
Trying to shoot from the hand of my character. Need a formula
At first, is your arm a stationary object character-wise? Where is its attachment point? It looks like the arm can be rotated – around what object does it rotate? What is your character consist of?
|
|
|
vesperbot
1848 posts
|
Topic: GemCraft Labyrinth /
gemcraft 2
I think a situation is possible where beacons that disable nearby gems will cover the entire map with their areas of influence. Thank God and gamedev for gem bombs BOOOOOOM!
|
|
|
vesperbot
1848 posts
|
Topic: Sonny 2 /
Sonny 2 Zone 6 and 7
Stop playing on easy, period. Also Z7 unlocks if you do this on Heroic difficulty only.
|
|
|
vesperbot
1848 posts
|
Topic: GemCraft Labyrinth /
gemcraft 2
If some maps will lack cyan and have a lot of regenerating monsters, the game will be pretty fun.
Also I have spotted an interesting ability on a giant monster: “Spawns a beacon on death, XXXX beacon HP”. This might quickly get out of control!
|
|
|
vesperbot
1848 posts
|
Topic: General Gaming /
Arkandian Explorer Hints / Guide
A disenchanter destroys an item and attempts to get raw crafting materials out of it. It’s best used as a trashcan during dungeon travels. Destroying artifacts with this can net you big amount of rare resources, as well as this improves Mysticism which adds to your attribute caps.
|
|
|
vesperbot
1848 posts
|
Topic: General Gaming /
arkandian crusade
Use melee weapons (not magic or archery!), use Enchant+Corrupt+Heavy attack, do max out your mana focus skill (that alters your damage like anatomy, forgot the name) so that corrupt will land for 40+% defence loss, thus you’ll be able to hit for 75%+ chance. Recast Corrupt after each attack, and Enchant after each hit. Or, make a Strategies of Timald (1d50), slap a couple of weapon enhancing elixirs over it so it’ll become 10d50 or more, and attack light :D
|
|
|
vesperbot
1848 posts
|
Topic: Game Programming /
Adding multiple movieclip from an array
Just make a new MC and stuff it with your Bitmap’s clone. Look how at stackoverflow.
|
|
|
vesperbot
1848 posts
|
|
|
|
vesperbot
1848 posts
|
Topic: Game Programming /
[AS3] OOP Question
Well, you really can provide a parameter of type Class into a function. The trick is, you can’t supply an additional parameter for a function that’s designated as an event listener, it only accepts one parameter of type Event. If you need a function to be called at an event, then you might need a wrapper function like Secretmapper provided, both onSolar and onBeam are such wrappers.
|
|
|
vesperbot
1848 posts
|
Topic: GemCraft Labyrinth /
Bloodbound merging: Amplifier
While it does clear earlier stages, you can find that if you summon 4-5 times against a wave of giants, that bloodbound won’t deal a thing against them. But a grade 7 yellow has double damage out of the box, so why bothering with red once you can get this beauty?
|
|
|
vesperbot
1848 posts
|
Topic: Game Programming /
[AS3] OOP Question
Ace, he seems to want “generateItem()” function to serve as an event listener and produce an instance of type corresponding to what triggered that function. It’s not this easy, and at least weird to have one function for all the classes, so I asked him about a hundred of buttons.
|
|
|
vesperbot
1848 posts
|
Topic: Game Programming /
[AS3] OOP Question
And a hundred buttons with a hundred event listeners?
|