I was fiddling some more and I think I fixed it!!! hurray doing some more testing to see if I can break it. Its all in the aove capx link
Sorry about that black hornet. I have a new capx up there now. I fiddled around and have it populating array1 with the contents of array 2 but it populates all cells. I just want it to stop once it fills an empty slot.
Develop games in your browser. Powerful, performant & highly capable.
Thanks again for the help guys.
I am having trouble populating array 1 with the contents of array 2. I am not sure what I am doing incorrectly. Could you peek into my capx? It sounds simple enough but it functions not.
Thanks for the responses Blackhornet and kossglobal!! much appreciated attacking this problem now.
Hi guys, I have uploaded a CAPX with what I am trying to do. I am wondering if there is something case in construct where you can exit out of a loop when a condition is met. Ultimately I want a Plants vs Zombies tower selection mode.
CAPX
Hi guys,
How do I loop through an array and stop looping if a value compared of a cell is equal?
For example:
for loop.length
if cell in x is equal to `foo`
do something
STOP
Here is what I have got so far.
WOW thanks Sumyjkl! That is a great idea to use the tiling bg for the bar. I have only ventured out into using it as terrain. Thanks again!
How do I represent a life bar of an enemy with lets say 652 HP with a life bar of only 10 heart icons?
I was trying out some different ideas on paper but this really stumped me.
Ahhhhh Thanks LittleStain (I feel bad typing that. lol) I have not used containers yet. I have been away from the old C2 for a while. Commencing fixes. beep beep beep
I have laser particles that are supposed to toggle visibility off and on with their UID matched laser beams. The below code sort of works but some particles stay on and misbehave. Do you see whats wrong with this?
Hi,
Here is a game that I am working on.
GAME GAME GAME GAME GAME
Hey Constructors,
Here is a video of a tiny tiny game in my huge pile of unfinised C2 Games. I am going to crack on with this one. I will upload a playable when I fine tune some stuff.
<img src="http://i310.photobucket.com/albums/kk412/tendrilsofkraken/WIP001_zpse4fb8557.jpg" border="0">
GAME GAME GAME
Hey guys, How would you approach thr math in making an arc for a projectile? I am trying to make a spinning arcing throwing axe. Thanks Computer friends! :)
Really cool!
Cool Thanks guys! I do back up but I did a reformat and my 1 back up drive went gave up on life. I was very sad that day. But I know how to make new things! thanks again!