playMaker

Author Topic: Trying to understand playmaker, for loops  (Read 1579 times)

RetroGamer

  • Playmaker Newbie
  • *
  • Posts: 3
    • VintageVideoGames
Trying to understand playmaker, for loops
« on: June 22, 2016, 05:37:25 AM »
Hi all I'm trying to get to grips with playmaker, unity and C#. I'm experimenting trying to recreate for loops within playmaker.

I'm trying to get playmaker to do the following;

Code: [Select]
        public int width = 100;
        public int height = 100;

        for (int x = 0; x < width; x++)
        {
            for (int x = 0; x < height; x++)
            {
               
            {
        }

And i have this in playmaker;



https://www.dropbox.com/s/9108wwfiq4x4e7y/example.png?dl=0

Thing is I was expecting the loopindex to be 10k and not 100, example: 100*100. What am I doing wrong here?

Thanks in advance
« Last Edit: June 22, 2016, 05:49:30 AM by LazyBassTurd »
Sell your retro games in the UK: https://www.vintagevideogames.co.uk

Crableg

  • Playmaker Newbie
  • *
  • Posts: 8
Re: Trying to understand playmaker, for loops
« Reply #1 on: June 22, 2016, 05:44:04 AM »
And i have this in playmaker;




Thanks in advance

Not sure if its just me but i don't see the playmaker image?

RetroGamer

  • Playmaker Newbie
  • *
  • Posts: 3
    • VintageVideoGames
Re: Trying to understand playmaker, for loops
« Reply #2 on: June 22, 2016, 05:50:17 AM »
sorry about that, I have added a direct link in my post
Sell your retro games in the UK: https://www.vintagevideogames.co.uk