Author Topic: Experimental Lab  (Read 5302 times)

0 Members and 1 Guest are viewing this topic.

Tomfloria

  • Shrub
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 232
  • First iOS modder :D
Re: Experimental Lab
« Reply #45 on: May 18, 2012, 11:51:58 AM »
There's only one asteroid, and that's the one you see haha

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1,794
Re: Experimental Lab
« Reply #46 on: May 18, 2012, 12:15:49 PM »
Strange.

How can there only be one asteroid?  The level declares dozens of them...


Don't suppose you'd be up for trying to work out which commands it is failing on? :>  That will help a lot to determine how we can make cross-compatible levels...

Tomfloria

  • Shrub
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 232
  • First iOS modder :D
Re: Experimental Lab
« Reply #47 on: May 18, 2012, 12:26:03 PM »
I'll take a look through the code when my dads finished with laptop, but I'm guessing it's because there aren't any asteroids stated in level setup, just asteroid number = 20 or something like that

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1,794
Re: Experimental Lab
« Reply #48 on: May 18, 2012, 12:36:18 PM »
I'll take a look through the code when my dads finished with laptop, but I'm guessing it's because there aren't any asteroids stated in level setup, just asteroid number = 20 or something like that

Yea, the "addAsteroidWithAttribs" command occurs inside a for loop, though... so it should be run a bunch of times, creating a bunch of asteroids.

You're probably right that it has something to do with it though..  perhaps the For loop is only being run once or something.


Are you totally sure it's just one asteroid?  When I load it on my PC, one asteroid is showing, and I can only scroll down.... scroll left, right, or up does not work.  That's because the camera starts as far north as you can currently see.  Once you scroll down a bit, you can then scroll in all directions again.

Tomfloria

  • Shrub
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 232
  • First iOS modder :D
Re: Experimental Lab
« Reply #49 on: May 18, 2012, 12:44:51 PM »
There is only one, kept look for another, it's definitely the for loop, I don't think I've seen one in any of the levels originally created. But I might not have looked so good.

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1,794
Re: Experimental Lab
« Reply #50 on: May 18, 2012, 12:53:06 PM »
Can you test if For loops in general work on iOS?


For example:


Code: [Select]
function LevelSetup()

end

function LevelLogic()

for i = 0,2
MessageBox("Fluffy")
end

end


That should produce 3 messageboxes...  does it? :>

Tomfloria

  • Shrub
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 232
  • First iOS modder :D
Re: Experimental Lab
« Reply #51 on: May 18, 2012, 12:55:20 PM »
If I had my IPad jailbroken, I'd be able to do all my editing on IPad, but it's not :/, have to wait till my dads done, he's watching stupid YouTube videos -_-

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1,794
Re: Experimental Lab
« Reply #52 on: May 18, 2012, 01:25:19 PM »
Come to my house. :>  I have a spare laptop you can use..

Tomfloria

  • Shrub
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 232
  • First iOS modder :D
Re: Experimental Lab
« Reply #53 on: May 18, 2012, 01:46:49 PM »
Paying for the plane ticket? Haha

Tomfloria

  • Shrub
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 232
  • First iOS modder :D
Re: Experimental Lab
« Reply #54 on: May 18, 2012, 01:48:58 PM »
Laptop is now at my disposal though! So I will test your code :D

Tomfloria

  • Shrub
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 232
  • First iOS modder :D
Re: Experimental Lab
« Reply #55 on: May 18, 2012, 01:51:26 PM »
Things changed fast, dad wants laptop again.

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1,794
Re: Experimental Lab
« Reply #56 on: May 18, 2012, 01:56:12 PM »
Paying for the plane ticket? Haha

My mate Smokey is a helicopter pilot, I'll have him come pick you up.
Can you climb a rope ladder? :>



(my mate Smokey really is a helicopter pilot but he doesn't have a helicopter of his own... and neither do I..  would have been cool though!)

Tomfloria

  • Shrub
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 232
  • First iOS modder :D
Re: Experimental Lab
« Reply #57 on: May 18, 2012, 02:07:02 PM »
All this for a Eufloria level test hahaha

Tomfloria

  • Shrub
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 232
  • First iOS modder :D
Re: Experimental Lab
« Reply #58 on: May 18, 2012, 02:28:38 PM »
http://twolivesleft.com/Codea/

I just cried watching the beauty of that video on that site haha

Tomfloria

  • Shrub
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 232
  • First iOS modder :D
Re: Experimental Lab
« Reply #59 on: May 18, 2012, 03:57:06 PM »
The Lastest code you asked me to test crashes the level man