Author Topic: [PLANTLIFE] REGROWTH  (Read 14459 times)

0 Members and 1 Guest are viewing this topic.

Offline rain_storm

  • Here comes the Rain
  • DBF Aficionado
  • ******
  • Posts: 3088
  • Karma: 182
  • Rain never hurt nobody
    • View Profile
    • org_100h
[PLANTLIFE] REGROWTH
« on: June 14, 2008 »
Hey guese Im first to put together an entry, well here it is. This is done in ps2Yabasic you will need an emulator in order to run it get the emulator here.
    http://members.iinet.net.au/~jimshaw/Yabasic/ps2yabasic1.6b3.zip

Open the file "[PLANTLIFE]REGROWTH.txt" in the emulator
Then select run program > run
Press escape to exit at any time

Edit - Updated sky motion based on Xalthorns sin scroll suggestion and speeded up the code a little too while I was at it. Im much more happy with this now. Thanks for the motivation Xalthorn

« Last Edit: June 23, 2008 by rain_storm »

Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17390
  • Karma: 497
  • evil/good
    • View Profile
    • My Homepage
Re: [PLANTLIFE] REGROWTH
« Reply #1 on: June 14, 2008 »
I am a little bit startled at how much you have gotten into a yabasic program here which after all has no bitmap gfx support...

Great trees, great scroller, great animated birds!
Worth getting the emulator to see what can be done with Yabasic.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Hotshot

  • DBF Aficionado
  • ******
  • Posts: 2114
  • Karma: 91
    • View Profile
Re: [PLANTLIFE] REGROWTH
« Reply #2 on: June 14, 2008 »
look very nice

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: [PLANTLIFE] REGROWTH
« Reply #3 on: June 14, 2008 »
The scroller is great!

Jim
Challenge Trophies Won:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2748
  • Karma: 492
    • View Profile
    • http://www.rbraz.com/
Re: [PLANTLIFE] REGROWTH
« Reply #4 on: June 14, 2008 »
What Jim said  :D
Challenge Trophies Won:

Offline nkk_kan

  • C= 64
  • **
  • Posts: 32
  • Karma: 4
  • poisoning the world with goodness
    • View Profile
Re: [PLANTLIFE] REGROWTH
« Reply #5 on: June 16, 2008 »
what rbz said :P  :D

Offline WidowMaker [retired]

  • %010101
  • Atari ST
  • ***
  • Posts: 134
  • Karma: 21
  • %010101
    • View Profile
Re: [PLANTLIFE] REGROWTH
« Reply #6 on: June 19, 2008 »
Hey, I tried Yabasic, it's mad, there are no bitmap graphics! I cant believe how you made all those plants look so nice.


Offline rain_storm

  • Here comes the Rain
  • DBF Aficionado
  • ******
  • Posts: 3088
  • Karma: 182
  • Rain never hurt nobody
    • View Profile
    • org_100h
Re: [PLANTLIFE] REGROWTH
« Reply #7 on: June 19, 2008 »
Thanks guys Im glad you liked this :)

But if you think this looks nice you should take a look at the Yabasic repositry some fabulous stuff in there

http://members.iinet.net.au/~jimshaw/Yabasic/yabres/yabres.html

Challenge Trophies Won:

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
Re: [PLANTLIFE] REGROWTH
« Reply #8 on: June 20, 2008 »
Great work Rain Storm  8)
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.

Challenge Trophies Won:

Offline combatking0

  • JavaScript lives!
  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4569
  • Karma: 235
  • Retroman!
    • View Profile
    • Combat King's Barcode Battler Home
Re: [PLANTLIFE] REGROWTH
« Reply #9 on: June 20, 2008 »
I'll examine this today. From the description, it sounds a lot like mine.

I hope I don't get yelled at for copying :(

(edit)

Looking at them side by side, I see they are totally different, so for now I'm safe.

However, it seems I'll have to up my game before I have an ice cube's chance in a volcano of winning this.

Great work!
« Last Edit: June 20, 2008 by combatking0 »
You are our 9001st visitor.
Challenge Trophies Won:

Offline DrewPee

  • I Toast Therefore I am
  • Pentium
  • *****
  • Posts: 563
  • Karma: 25
  • Eat Cheese - It's good for you!
    • View Profile
    • Retro Computer Museum
Re: [PLANTLIFE] REGROWTH
« Reply #10 on: June 20, 2008 »
Love the effect but excuse me for being rude or wrong - is it supposed to run really really slowly? I have a P4 3Ghz and it seems to run vey slowly?
Have I got something set wrong.

DrewPee
DrewPee
aka Falcon of The Lost Boyz (Amiga)
Ex-Amiga Coder and Graphic Designer
Administrator of > www.retrocomputermuseum.co.uk

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: [PLANTLIFE] REGROWTH
« Reply #11 on: June 20, 2008 »
It should run really fast.  Try tinkering with some of the refresh options in the player.

Jim
Challenge Trophies Won:

Offline rain_storm

  • Here comes the Rain
  • DBF Aficionado
  • ******
  • Posts: 3088
  • Karma: 182
  • Rain never hurt nobody
    • View Profile
    • org_100h
Re: [PLANTLIFE] REGROWTH
« Reply #12 on: June 21, 2008 »
Hi DrewPee, as Jim said, you need to edit the refrsh rate. To do that you need to select Edit -> options

you will see a tab open with an option for syncing to the monitors refresh rate, syncing to 50Hz (PS2) and no sync. Play with those options

Challenge Trophies Won:

Offline combatking0

  • JavaScript lives!
  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4569
  • Karma: 235
  • Retroman!
    • View Profile
    • Combat King's Barcode Battler Home
Re: [PLANTLIFE] REGROWTH
« Reply #13 on: June 23, 2008 »
Is that the 1.6b version? All I can find online is a variant of version 1.5, but I have 1.6b at home, so I'll try that.
You are our 9001st visitor.
Challenge Trophies Won:

Offline Xalthorn

  • Amiga 1200
  • ****
  • Posts: 331
  • Karma: 100
    • View Profile
Re: [PLANTLIFE] REGROWTH
« Reply #14 on: June 23, 2008 »
That is beautiful, loads of things crammed in but in a very nice way.

I like the way the sky changes colour including a sun and moon drifting across the sky.

I can't help feeling that if you had popped those on a circle to make them rise and fall, it might add something.

For example (very crude code, doesn't synch with your demo yet, but it's only for demonstration)

In your sky subroutine, if you added a couple of lines to increase a sunrise variable like this

Code: [Select]
    heavenscroll = 0.4
sunrise=sunrise+heavenscroll
if sunrise>360 then sunrise=sunrise-360 fi
    sunscroll = sunscroll + heavenscroll

and then changed the sun drawing line to

Code: [Select]
x=sin(sunrise*pi/180)*240+RESX/2
y=cos(sunrise*pi/180)*200+RESY/2
gcircle(x,y, 32, 255,127,063, 255,255,127)

Then the sun nearly behaves as we'd expect. It's not amazing, but it might help.

You can put the moon on the opposite side of the circle so that they rotate together.  The trick would be to get them to line up with the sky colour change.

Please don't get me wrong, I love your demo, it's just that the sun and moon scrolling across doesn't do it for me, especially as you've taken the effort to change the sky brightness at the horizon.
Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: [PLANTLIFE] REGROWTH
« Reply #15 on: June 23, 2008 »
->CK - He linked to 1.63b in the first post.  The 1.5 versions are rubbish!

Jim
Challenge Trophies Won:

Offline rain_storm

  • Here comes the Rain
  • DBF Aficionado
  • ******
  • Posts: 3088
  • Karma: 182
  • Rain never hurt nobody
    • View Profile
    • org_100h
Re: [PLANTLIFE] REGROWTH
« Reply #16 on: June 23, 2008 »
@Xalthorn I had considered that but the arch is so wide that it needed a really shallow sin value or the sun/moon wouldnt stay within the screen limits. I used only 256 pixels of sky but the width is like +/-768 or something. The sky must be that width or else the scrolling text doesnt sync to sunrise. I couldnt pull it off so I dropped it and focused on the scroller. Nice to see someone taking an interest in the source code though, did you notice that I tried to make it win32yabasic compatible? not a single gtriangle in there. had to drop that too cos the framerate sucked. Would have been nice if I could have it binded to the interpreter.

Challenge Trophies Won:

Offline Xalthorn

  • Amiga 1200
  • ****
  • Posts: 331
  • Karma: 100
    • View Profile
Re: [PLANTLIFE] REGROWTH
« Reply #17 on: June 23, 2008 »
Well there is no reason why you can't have it follow an ellipse, simply have the x movement faster than the y.  The trick might be finding the right increment to the SIN though.

I'm seriously impressed by what you've managed to achieve with this, I love the flower text and the birds are simple but extremely effective.
Challenge Trophies Won:

Offline rain_storm

  • Here comes the Rain
  • DBF Aficionado
  • ******
  • Posts: 3088
  • Karma: 182
  • Rain never hurt nobody
    • View Profile
    • org_100h
Re: [PLANTLIFE] REGROWTH
« Reply #18 on: June 23, 2008 »
You know what I think youve talked me into having another go at it.

that worked a treat Xalthorn worth some karma I think  ;D

first post is updated with final release
« Last Edit: June 23, 2008 by rain_storm »

Challenge Trophies Won:

Offline Xalthorn

  • Amiga 1200
  • ****
  • Posts: 331
  • Karma: 100
    • View Profile
Re: [PLANTLIFE] REGROWTH
« Reply #19 on: June 24, 2008 »
I'm glad I could help :D
Challenge Trophies Won: