LoginLogin

Spooky Scary Programming Contest 2018

Root / Site Discussion / [.]

๐Ÿ”’
haloopdyCreated:
Don't forget Grand Dad and the Hotel Mario intro. SmileBASIC already has plenty of dank memes!
The sand can be eaten.

Would a TikTok port had been a good submission for this contest?
If you made that, Iโ€™m sure all the sane people (and me) would have left SBS.

Would a TikTok port had been a good submission for this contest?
If you made that, Iโ€™m sure all the sane people (and me) would have left SBS.
Good thing the contest ended before I got the idea then

[poll=p491][/poll] GPC! I was hoping for top 3, but I'm like 1 vote off.

OK, voting is over! Thank you all for your participation! I'll get the badges out... ummmm soonish? It might have to wait until this weekend. Anyway, winners! Nathaniel's Pumpkin Swing comes in first with 11 votes, with Prokuku's The Maze in second with 9 votes. A VERY close third goes to 12me21's Spooky Tetris (but you don't get a prize for being in third, sorry). I'll get to the winners today about their prizes, but the badges might have to wait a while. I hope everyone enjoyed the contest!

I really don't like OSP's that's why I participated in this one.

Can there be any more unificial contests you make?

Can there be any more unofficial contests you make?
if they're user-led, they'll fail if they're site-led, they'll get a few submissions I am a medical professional and I declare SB to be dead.

I am a medical professional and I declare SB to be dead.
Pretty much, weโ€™re all waiting for SB4 anyway.

well crap. SB 3 is my LIFE

seriously, I've spent ~3500 hours on SB

I really hope they build on the language with SB 4. I hope there will be stuff like:
  • Polygon display capable of shading and texturing polygons (think a new namespace, like the SP, BG, and BGM namespaces, so POLYADD x1, y1, z1, x2, y2, z2, x3, y3, z3, color)
  • Easier-to-use arrays, and maybe something like dictionaries or JavaScript objects, or Lua arrays.
  • More dedicated data structures that still have those weird hacks (like a bool type that still shows up as 0 or 1, and still can be added to integers or real numbers)
  • 3D sprite rotation, so SPROT id, roll, [pitch], [yaw] (pitch goes first because backwards compatibility, or at least only on COMPAT mode if it exists)
  • Which leads to... DEPTH MODES. The default is draw order only, but you can change it to mean that the Z-value has an actual effect on the thing it renders. Default one means old programs will look the same.
  • Editable editor. I'd love it if other programmers could write the editor so it shows variables in the autocomplete, and add help for user-defined functions.
Whoops this just turned into a wishlist.

JavaScript objects are being implemented into petit com 3. http://smilebasicsource.com/page?pid=1228

JavaScript objects are being implemented into petit com 3. http://smilebasicsource.com/page?pid=1228
I really like the speed and simplicity that vanilla SmileBASIC provides. This does look like a useful-as-heck library, but I mean something like this:
ACLS

EVENTS = [
	{
		X = 4,
		Y = 10,
		TEXT = "REALLY GREAT RPG 2 DELAYED TO 2023. 'Gotta focus on my grades' V360 said in a press release"
	},
	{
		X = 4,
		Y = 8,
		TEXT = "Did you play the new Undertale demo? I'm so flipping hyped for it, but I'm also [redacted]"
	},
	{
		X = 9,
		Y = 10,
		TEXT = "What's happening fellow gamers",
		OPTION = {
			TEXT = "Hello, world!"
		}
	}
]

?EVENT[0].X, EVENT[0].Y, EVENT[0].TEXT
That reminds me. I should've added Array Literals to the list.

I already made that. It will be in the next update.

there is no nesting of objects, unfortunately

there is no nesting of objects, unfortunately
An easy workaround would be to store the nested object as a literal string. I'd take the performance drop if you could nest the objects. Another idea is to automatically convert this:
{
 A: "Hello!",
 B: {
  Text: "Gaming",
  X: 30
 }
}
To this:
{
 A: "Hello!",
 B.Text: "Gaming",
 B.X: 30
}
...If that's how it works. Maybe separate nested object things by using a dot character, and not allow dot characters in names of elements.

You could also store reference names to other objects and reference them. Also, the object literal stuff has to fit on a single line and passed into a function.
DIM OBJECT[0],OBJECT2[0]
OBJECT = OBJECT()
OBJECT2 = OBJECT()
ADD OBJECT2, "ME",100
ADD OBJECT, "REFERENCE","OBJECT2"
VAR OBJECT2_ME = FEILD(VAR(FEILD(OBJECT,"REFERENCE")),"ME")
PRINT OBJECT2_ME
'prints 100

rip

Day 3, toad drops out with lack of motivation and asks if we want a key to his project even though he just said it lacked motivation and anything
this is going in my siggy