Log In  

tossed together in about an hour
made for tweet tweet jam 3
have fun and remember to play safe

Cart #crescent-1 | 2019-11-12 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

older version with exploits
Cart #crescent-0 | 2019-11-12 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

P#69837 2019-11-12 00:54 ( Edited 2019-11-12 13:15)

Your "crescent" cut is black and it appears on the other crescents around it.

Suggest you record a crescent in SPR and plot from there to get around this. If you get stuck figuring this out, I'll help you.

Also suggest you add score, lives, levels of play, warm-ups, and cool-downs.

P#69839 2019-11-12 01:39 ( Edited 2019-11-12 01:41)

@dw817: Isn't this how crescents look in real life? They're just shadows, after all... Anyway, this is a tweettweetjam game, meaning it should be max 560 characters, so who knows if all your suggestions would fit. I recommend you join the jam too, it's great fun!

P#69843 2019-11-12 09:55

560-characters ? Hmm ... That's pretty rough, @tobiasvl. I think I can, for this anyways, as a simple screen-saver. Let me see ...

Just waking up ... okay, here it is. Coding time, 15-minutes. (making it as small as I can).

_set_fps(60)c=cls r=rnd d=circfill c()color(12)d(64,64,63)d(48,48,48,0)memcpy(0,24576,8192)x,y,a,i,b={},{},{},0,{}for i=0,31 do x[i],y[i],a[i],b[i]=r(192)-64,r(128),r(2)+.25,8+r(32)end repeat if i==0then flip()cls()end sspr(0,0,128,128,x[i],y[i],b[i],b[i])y[i]-=a[i]if y[i]<-b[i]then x[i],y[i]=r(192)-64,128+b[i]end i=(i+1)%32until z

333-characters with no black circle overwriting the other crescents.

Cart #cr-1 | 2019-11-12 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Likely this can be optimized even further I suspect.

P#69847 2019-11-12 16:54 ( Edited 2019-11-12 19:43)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2023-03-27 07:48:00 | 0.018s | Q:23