Just figured it out, thanks!!!
Man, this whole array stuff is soooo confusing
Hmm, lemme try another example.....
So, if I want to set (7,5) to "5" (which is basically its Y axis)
What expression would I put down?
something like..... Array | Set Value at (7,5) to..."Array.CurX"??
Oh right, sorry haha i got it mixed up! yes should be Y = 5
I'm still a beginner with Arrays, but I was wondering how to pin point X based on a selected value?
Example, if i need the X value of "58" it would be 5
This 58 will also be sorted vertically, so I need a "real-time" value if that makes sense?
Would it be Array.CurX? or something?
I ended up going with R0J0hound's method, thank you so much! that worked for me =)
yeah, its weird...i cant seem to sort from the 3rd value =/ does it only work on the first?
Develop games in your browser. Powerful, performant & highly capable.
Hey guys,
I'm trying to learn how to sort my array values that contains a specific text
I just want to be able to pick a text, and move them to the top of my list.
I don't want ascending/descending orders of numbers, I just want to isolate a category if that makes sense!
Example:
1,5,Grape
10,4,Grape
3,6,Grape
5,7,Apple
3,5,Pineapple
Yeah, I tried this...but it seems to only work when the object is in the family folder to begin with. Anything new cannot be "added" into the list. Thats what Im trying to figure out =/ ya...It doesnt seem to let me "switch" between different families either
Anybody? lol
bump
Here's a quick test I made, the pink sprite just doesnt get put into "Family1" when I right click to destroy it:
So I have enemies targeting "Team1Family"
I'm trying to spawn a new character and adding him into "Team1Family" after pressing a button in-game.
But Im having some trouble...the enemies dont seem to acquire him as a target =/ Any ideas guys? Thanks!!!
Hey GenkiGenga, your Card Game Template Demo looks amazing by the way! So I guess that would be "Peer to Peer" / LAN setup? Would dedicated servers be like playing WoW, where the map is always running 24/7 and larger amount of players join in?
Anyways, as for the server provider, I read somewhere that Photon Cloud is good for C2?
I wanted to test out multiplayer functions on a dedicated server, does anybody know which website is the most compatible with Construct 2?
Thanks!!
I'm looking for an experienced programmer to create a simple "Multiplayer" game template.
And yes! this is a paid project =)
Things I'm looking for:
-Connecting to Servers
-Replicate basic movements
-Chat Room
Thanks!
I'm planning to create a multiplayer game, which real-time players interacting with each other.
What platforms with servers set up already has "proven to work" for C2 developers?
How hard is it to hook up multiplayer?
Clay.io?
-I wanted to try this after seeing Bombermine, but it seems like they don't support the plugin anymore..
Kongregate?
Newgrounds?
Facebook?
Steam?