Author Topic: [Contest] Osmos  (Read 23750 times)

0 Members and 1 Guest are viewing this topic.

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: [Contest] Osmos
« Reply #30 on: June 11, 2012, 02:54:38 pm »
because of the exams development slowed down a lot.. in fact i haven't done anything since last update xp

i'll continue tomorrow, since then my biggest exams are finished, and i'll finally get some spare time again :)
also, I discovered that coding in the exams isn't really that relaxing ö especially debugging, it makes me nervous..

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: [Contest] Osmos
« Reply #31 on: June 11, 2012, 03:25:52 pm »
Lol ^^

Also, if you code with PCspire or the new SDK it's more easy to debug :)
(You need to run PCspire from a console for that)

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: [Contest] Osmos
« Reply #32 on: June 11, 2012, 03:29:01 pm »
yeah, you told me to run it from the console, but nothing happened (well, it opened PCspire, but that's it..)

hmm, for the sdk i'll need to find my registration key first, and i don't really know where i left that xs so i'll look for it tomorrow.
i saw that there is a kind of console in the sdk, can you print to that using print() or how else?

it feels like i'll have loads of work to do tomorrow ö (not school related xp )

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: [Contest] Osmos
« Reply #33 on: June 11, 2012, 03:30:43 pm »
Ah, I just checked. You need to add "--console" to the parameters of love in windows.

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: [Contest] Osmos
« Reply #34 on: June 11, 2012, 03:36:46 pm »
i tried it, and now it opens a console window, but the only thing it outputs is 'starting', nothing more..
twice btw, once the general scriptselectionmenu opens, and once the program opens

edit: wait, it's ok now, it only prints to the console when it crashes :)
« Last Edit: June 11, 2012, 03:38:52 pm by Nick »

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: [Contest] Osmos
« Reply #35 on: June 11, 2012, 03:41:57 pm »
You can add a "-v" if you want more debug info.
Also, you can add print functions to your code, to debug stuff.

You get the "starting" twice, because the loader is actually an application too :D

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: [Contest] Osmos
« Reply #36 on: June 11, 2012, 03:42:58 pm »
yeah, i saw that in your code :) (yes i took a look in the code of PCspire too xp )

ok, nice, i'll check that out
thanks for making PCspire, it's really wonderful :)

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: [Contest] Osmos
« Reply #37 on: June 11, 2012, 03:45:53 pm »
Ok :)

I'm glad it is useful, and it will become even better in the future.
Also, don't hesitate to report any function that doesn't work the same as on the TI-Nspire.

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: [Contest] Osmos
« Reply #38 on: June 13, 2012, 10:53:39 am »
UPDATE!!

i rewrote it totally, and now it uses more classes :)
new stuff:
  • menu: now it comes scrolling down, but it's hard to see in the video
  • modes updated
  • antimatter mode added
  • optimized, but a lot of other optimization is needed

that's about it.. it's getting finished :)
oh and you might see in the video that i did not yet make them better looking with that darker border, i might or might not add that in the future, we'll see (it all depends on the speed)


Offline TheMachine02

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 452
  • Rating: +105/-0
  • me = EF99+F41A
    • View Profile
Re: [Contest] Osmos
« Reply #39 on: June 13, 2012, 10:55:04 am »
great  :D  good work   :thumbsup:
AXE/asm programmer - unleash the power of z80 //C++//C

epic 3D things http://www.ntu.edu.sg/home/ehchua/programming/opengl/CG_BasicsTheory.html

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: [Contest] Osmos
« Reply #40 on: June 13, 2012, 12:34:00 pm »
Wha, that is looking nice!

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: [Contest] Osmos
« Reply #41 on: June 13, 2012, 01:45:01 pm »
thanks, although i optimized it, i seem to have a 'problem':



as you can see, it only reaches 0.66 fps, which is terrible ö i really hope i get this number to rise, since now it's just frustrating xs

i had a mistake in my fps counter lol it's about 11 fps (which is still too low)
« Last Edit: June 13, 2012, 02:13:10 pm by Nick »

Offline blue_bear_94

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 801
  • Rating: +25/-35
  • Touhou Enthusiast / Former Troll / 68k Programmer
    • View Profile
Re: [Contest] Osmos
« Reply #42 on: June 13, 2012, 01:48:45 pm »
Optimized for speed or size?
Due to dissatisfaction, I will be inactive on Omnimaga until further notice. (?? THP hasn't been much success and there's also the CE. I might possibly be here for a while.)
If you want to implore me to come back, or otherwise contact me, I can be found on GitHub (bluebear94), Twitter (@melranosF_), Reddit (/u/Fluffy8x), or e-mail (if you know my address). As a last resort, send me a PM on Cemetech (bluebear94) or join Touhou Prono (don't be fooled by the name). I've also enabled notifications for PMs on Omnimaga, but I don't advise using that since I might be banned.
Elvyna (Sunrise) 4 5%
TI-84+SE User (2.30 2.55 MP 2.43)
TI-89 Titanium User (3.10)
Casio Prizm User? (1.02)
Bag  東方ぷろの

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: [Contest] Osmos
« Reply #43 on: June 13, 2012, 02:04:25 pm »
speed optimization, size optimization is a minor importance here (for now it's only 5kB) and the nspire has enough memory for size optimization not being such an important matter (at least not at 5kB)

with 6 cells, i can reach 20 fps, but that's too few cells :(
« Last Edit: June 13, 2012, 02:27:31 pm by Nick »

Offline cyanophycean314

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 363
  • Rating: +43/-1
  • It's You!
    • View Profile
Re: [Contest] Osmos
« Reply #44 on: June 13, 2012, 04:37:29 pm »
The games all seem very fast. There was that one game where you spawned and had already won because no one else was bigger than you...  :-\

Size optimization is not an issue for Nspire Lua Programming. The biggest Lua program takes a little over 1 MB (Loulou's translator). There is over 100 MB available. If there's a size issue, it's probably the huge roms/wads/movies for your ndless programs.  :) That case is different for 8x dev though.