Wishlist
-
@seggiepants I think resizable arrays are already a thing. In one of my projects, I used something similar to the below
myArray = [0,1,2]
and later in the program used
myArray[3] = 3
Yeah, I figured that out today. Arrays can be expanded, but as far as I know there is no way to insert at index or remove at index
are you sure it isn't just array indexing being broken?
-
@seggiepants I think resizable arrays are already a thing. In one of my projects, I used something similar to the below
myArray = [0,1,2]
and later in the program used
myArray[3] = 3
Yeah, I figured that out today. Arrays can be expanded, but as far as I know there is no way to insert at index or remove at index
are you sure it isn't just array indexing being broken?
I can guarantee it. Working on an expandable struct array for a map made of rectangles and triangles. (Will send gif when off campus)
-
@ybasic I am sure it's working as intended, otherwise, I'd be having trouble with my implementation in my project. :)
-
Here's my wishlist: CRT filter like we have with Nintendo's NES/SNES Mini Classic devices :)
-
The ability to make our own variable-argumented functions, similar to how
print
andprintAt
can take any number of arguments. -
@Tratax you're in luck! I don't know very much about it myself but we do have a CRT shader :) check these help pages for the info
https://fuzearena.com/help/view/renderEffect
https://fuzearena.com/help/view/setDrawTarget -
@Eearslya This will very helpfoul, but sometimes some flexibility in types for function arguments helps to not have to implement overloads which are essentially the same code just with the types changed
-
@ITzTravelInTime I think you misunderstand, I wasn't asking for functions that can only take specific variable TYPES, but for functions that can take a variable NUMBER of arguments.
e.g.printAt(0, 0, var1, var2, var3, ...)
-
@Eearslya we do need that for sure!
-
@Eearslya Well, you can kinda do it right now using an array.
count = myargs( 0, 0, [ 1, 2, 3, 4, 5, 6 ] ) function myargs( item1, item2, itemarr ) return len(itemarr)
-
@Eearslya I see thank you for the clarification
-
@Kat That, is amazing - I'm heading home on the train and cant wait to get on the switch and try this out! Sorry, I should have searched before assuming it wasn't built in haha
-
@Tratax No worries!
-
@Tratax whilst you can't discern much form the very short clip size limit on the Switch's upload feature, I did a little video using a CRT shader on some maths patterns, you might get an idea for parameter values from it - you can make some truly bizarre effects with it!
https://fuzearena.com/forum/topic/10/playing-with-crt-shader/2
-
I'll give this a try.
We need an
elseif
orelif
if (a) then // do a elseif (b) then // do b else // do else endif
I'd also like to see a
switch case
someday. Might look like this.switch (expression) case value-1 // do this break case value-2 // do this break default // do this endswitch
-
@_JKDOS As you already know, the latter of those two is on the list of things to come. The first is unlikely. But, request noted.
-
@Martin Thats awesome. I would think getting the
switch
condition would be more unlikely, so I count myself lucky -
Functions to help us determine what type a variable is, like
isInt
,isFloat
,isString
,isVector
, andisArray
. Dunno ifisStruct
would be workable. -
@Discostew For structs, maybe even a generic
isA
that we can pass a struct type to. -
Intellisense?
Parameter context / reference for commands?
Summary-comments that appear when a type or method associated with it is selected or hovered over?