Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
22 May, 2013, 17:22:13 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: 1 2 3 [4] 5   Go Down
  Print  
Author Topic: Quasilat -  (Read 3174 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
ztrumpet
The Rarely Active One
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: Today at 03:10:30
Date Registered: 08 November, 2009, 21:10:12
Location: Michigan
Posts: 5687


Total Post Ratings: +360

View Profile
« Reply #45 on: 10 March, 2011, 04:56:53 »
0

Oh, I should mention that storing any number to rand will work.  It's called seeding the random number generator. Wink
Logged

ralphdspam
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 14 May, 2013, 09:10:11
Date Registered: 01 February, 2011, 07:58:40
Location: California, USA
Posts: 841


Total Post Ratings: +36

View Profile
« Reply #46 on: 10 March, 2011, 05:08:03 »
0

Oh, so all I had to do was seed the rand?
I love doing that.  I always tell my friends that I can predict the next random number. lol

The game is a great speed for basic, and the controls are very responsive.  Smiley
Logged

ld a, 0
ld a, a
program4
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 14 August, 2012, 21:58:53
Date Registered: 23 June, 2010, 03:21:16
Location: USA
Posts: 160


Topic starter
Total Post Ratings: +15

View Profile
« Reply #47 on: 10 March, 2011, 05:22:09 »
0

Thanks, ralphdspam!

@ztrumpet: I don't think the pxl-Test( thing will work. I tried it, and the speed dropped from about 4 frames/second to under 3, and the graphics don't end up well. I attached the file in case you want to look at it.

* QUASILAT pxl-test.8xp (2.04 KB - downloaded 32 times.)
« Last Edit: 10 March, 2011, 05:33:40 by program4 » Logged
ztrumpet
The Rarely Active One
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: Today at 03:10:30
Date Registered: 08 November, 2009, 21:10:12
Location: Michigan
Posts: 5687


Total Post Ratings: +360

View Profile
« Reply #48 on: 11 March, 2011, 23:39:55 »
+1

Yeah, I also don't like that as well.  I guess it's fine with the flicker. Wink

One thing I noticed when I glanced at the code:
You have some code like "formula->Str0:expr(Str0 which is pretty cool, but it could be optimized if you wrote it like this: "formula->u:u (the 'u' is [2nd] [7])  I hope this helps. Cheesy
Logged

program4
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 14 August, 2012, 21:58:53
Date Registered: 23 June, 2010, 03:21:16
Location: USA
Posts: 160


Topic starter
Total Post Ratings: +15

View Profile
« Reply #49 on: 13 March, 2011, 01:02:34 »
0

Yeah, I also don't like that as well.  I guess it's fine with the flicker. Wink

One thing I noticed when I glanced at the code:
You have some code like "formula->Str0:expr(Str0 which is pretty cool, but it could be optimized if you wrote it like this: "formula->u:u (the 'u' is [2nd] [7])  I hope this helps. Cheesy

That code was just the one that attempted to deal with the flicker, so it won't be included.  Wink
Logged
ztrumpet
The Rarely Active One
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: Today at 03:10:30
Date Registered: 08 November, 2009, 21:10:12
Location: Michigan
Posts: 5687


Total Post Ratings: +360

View Profile
« Reply #50 on: 13 March, 2011, 05:50:35 »
+1

Okay, sounds good.  For the record, I've used this a lot in my Homescreen Game Pack, with "42=abs(getKey-63->u .  I also use Ans or K instead of the getKey for maximum space savings (I use u, v, and w).  If you want, you can do that with any of the Y= vars, in any of the four modes.  There are even more if you use XtraVar (by Calc84), but I've never used more than 4 at the same time. Grin
« Last Edit: 13 March, 2011, 05:50:45 by ztrumpet » Logged

program4
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 14 August, 2012, 21:58:53
Date Registered: 23 June, 2010, 03:21:16
Location: USA
Posts: 160


Topic starter
Total Post Ratings: +15

View Profile
« Reply #51 on: 13 March, 2011, 17:14:08 »
0

Okay, thanks.  Grin

So, should I make the "hard" mode available to those who didn't beat the normal mode yet? I'm leaning towards a yes, since I never beat the game on "normal" mode. (My high score is 1231 out of 1426, I believe).
Logged
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 15:15:35
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50216


Total Post Ratings: +2615

View Profile WWW
« Reply #52 on: 15 March, 2011, 20:03:56 »
+1

Yeah I would make it available from the start.
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
program4
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 14 August, 2012, 21:58:53
Date Registered: 23 June, 2010, 03:21:16
Location: USA
Posts: 160


Topic starter
Total Post Ratings: +15

View Profile
« Reply #53 on: 17 March, 2011, 02:39:55 »
+1

Okay, I included that in this version.


Quasilat v1.4

*Option to choose Normal or Hard mode from the start
*Shows your score after you lose
*Shaved off some bytes

My high scores:
Normal-1231
Hard-756

* QUASILAT v1.4.8xp (2.05 KB - downloaded 28 times.)
Logged
ztrumpet
The Rarely Active One
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: Today at 03:10:30
Date Registered: 08 November, 2009, 21:10:12
Location: Michigan
Posts: 5687


Total Post Ratings: +360

View Profile
« Reply #54 on: 17 March, 2011, 03:28:33 »
0

This program is great. Smiley
How long until the "final" release? Cheesy
Logged

program4
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 14 August, 2012, 21:58:53
Date Registered: 23 June, 2010, 03:21:16
Location: USA
Posts: 160


Topic starter
Total Post Ratings: +15

View Profile
« Reply #55 on: 17 March, 2011, 03:29:30 »
0

Well, as long as no one has any suggestions or bugs, this might be the final.
Logged
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 15:15:35
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50216


Total Post Ratings: +2615

View Profile WWW
« Reply #56 on: 23 March, 2011, 20:43:15 »
0

Nice, are you planning to upload it in the Omni downloads section as well as ticalc.org?
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
program4
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 14 August, 2012, 21:58:53
Date Registered: 23 June, 2010, 03:21:16
Location: USA
Posts: 160


Topic starter
Total Post Ratings: +15

View Profile
« Reply #57 on: 23 March, 2011, 21:53:49 »
0

Yeah. I'm a little busy this week, so it might be a while.
Logged
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 15:15:35
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50216


Total Post Ratings: +2615

View Profile WWW
« Reply #58 on: 23 March, 2011, 21:58:32 »
0

Ah ok sorry to hear. Sad
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
program4
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 14 August, 2012, 21:58:53
Date Registered: 23 June, 2010, 03:21:16
Location: USA
Posts: 160


Topic starter
Total Post Ratings: +15

View Profile
« Reply #59 on: 29 March, 2011, 02:31:02 »
0

The final release!


Quasilat v2.0

*11 bytes more efficient

Attachment below, and also uploaded to ticalc.org.

* QUASILAT v2.0.zip (2.51 KB - downloaded 16 times.)
Logged
Pages: 1 2 3 [4] 5   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.204 seconds with 31 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.