? calc84maniac ● SmileBASIC Source User

Sign In

Register
*Usernames are case-sensitive
Forgot my password
Oh boy, the Spring Programming contest is almost over!
calc84maniac

calc84maniac Inactive

Amazing Page Hidden Achievements Staff Pick "Your program is one of our favorites!" - Staff Achievements Avatar Taboo I didn't change my avatar for 180 days Website First Day Joined on the very first day of SmileBASIC Source Website Scholar Received for knowing a great deal about programming topics Achievements Great Page Hidden Achievements Avatar Embargo I didn't change my avatar for 90 days Website First Week Joined in the very first week of SmileBASIC Source Website Deep Sleep Hidden Website Good Page Hidden Achievements Avatar Block I didn't change my avatar for 30 days. Website First Month Joined in the very first month of SmileBASIC Source Website

Submitted Programs (2):

Submitted Resources (1):

  1. calc84maniac calc84maniac posted on thread Variables act empty inside functions that are placed before that variable's creation. Interesting, I had assumed that all variables not explicitly declared in a function were assumed...
  2. calc84maniac calc84maniac posted on thread Second Opinion on Background Detection using Data Arrays? (No BGGET) That's definitely a good start. Personally what I might do in terms of the value codes is use a...
  3. calc84maniac calc84maniac posted on thread Can you check if two arrays are the same in SmileBASIC? I haven't tested it, but assuming left-to-right order of evaluation, this might also work: DE...
  4. calc84maniac calc84maniac posted on thread Can you check if two arrays are the same in SmileBASIC? This function should work, as long as you're not using string arrays. DEF ISALIAS(ARRAY1,ARRA...
  5. calc84maniac calc84maniac replied to a comment on SUBST$ replacement using []! I would say calling it twice like that is slower than it should be. And you can also avoid searc...
  6. calc84maniac calc84maniac posted on thread Making a PTC Compiler I assume that SENDFILE and RECVFILE could be implemented using the local multiplayer functionali...
  7. calc84maniac calc84maniac posted on thread Making a PTC Compiler I can think of a fairly optimized way to handle the BGs with palettes. You can cache the entire...
  8. calc84maniac calc84maniac posted on thread SmileBASIC featured on NHK World Interestingly, Kobayashi makes a comment about western expansion at the 21:55 mark. "It's bec...
  9. calc84maniac calc84maniac created a new thread: SmileBASIC featured on NHK World NHK World recently aired their Indie Games Special #2 on the imagine-nation feature. SmileBASIC...
  10. calc84maniac calc84maniac posted on thread INC is slower At the very least, I imagine it might be faster for calculated array elements. I haven't tested...
  11. calc84maniac calc84maniac posted on thread Magical arguments Because it doesn't keep track of where the start of every single line in the file is (which ca...
  12. calc84maniac calc84maniac posted on thread Magical arguments I'm not entirely sure that's correct, I'm pretty sure EXEC does a USE before it executes (thou...
  13. calc84maniac calc84maniac edited a post on thread Question about prgedit Actually, PRGEDIT seems to be itself O(n), so iterating through all lines is sadly O(n^2). Gener...
  14. calc84maniac calc84maniac edited a post on thread Question about prgedit Actually, PRGEDIT seems to be itself O(n), so iterating through all lines is sadly O(n^2). Gener...
  15. calc84maniac calc84maniac posted on thread Question about prgedit Actually, PRGGET$ seems to be itself O(n), so iterating through all lines is sadly O(n^2). Gener...
  16. calc84maniac calc84maniac posted on thread Magical arguments I'm pretty sure function/parameter checking is done at runtime. Persson, are you definitely runn...
  17. calc84maniac calc84maniac posted on thread Nossrec, The Precompiler Made To Replace SmileBasic Oh, and if you are indeed implementing your for loops using SmileBASIC's WHILE, keep in mind tha...
  18. calc84maniac calc84maniac posted on thread Nossrec, The Precompiler Made To Replace SmileBasic Is "object" a built-in type, or something defined in the program? Also, I think there may be...
  19. calc84maniac calc84maniac posted on thread Nossrec, The Precompiler Made To Replace SmileBasic Yeah, after looking at the relevant Wikipedia pages I would say it's Ahead-Of-Time compilation...
  20. calc84maniac calc84maniac posted on thread Gauging interest - Platforming Engine I wonder if it would be worth returning values to the user as predivided floats? Same for the va...
  21. calc84maniac calc84maniac posted on thread How do I use the touch screen/bottom screen? Not true, SPHITRC allows specifying a range of sprites, and/or a collision mask.
  22. calc84maniac calc84maniac posted on thread Gauging interest - Platforming Engine Well, consider that there is little to no sprite-sprite interaction in this engine, and thus the...
  23. calc84maniac calc84maniac posted on thread Gauging interest - Platforming Engine Is there a reason you can't use SPVAR entries for the associated variables? Technically I think...
  24. calc84maniac calc84maniac posted on thread SNES PORTING? Smoothly scrolling in two axes. It was a big deal at the time.
  25. calc84maniac calc84maniac posted on thread MPSEND delivery guarantee broken Interesting... Did you try rewriting the code so it tries to receive until it gets a result not...
  26. calc84maniac calc84maniac replied to a comment on Block Dude Nah, there is a pretty big selection, but this one came preinstalled as part of the PuzzPack app...
  27. calc84maniac calc84maniac created a new page: Block Dude This is a clone of the classic TI-84+ game Block Dude (originally by Brandon Sterner). Stack up...
  28. calc84maniac calc84maniac posted on thread Multiple levels of height within the Raycaster Engine? Nope, it can't work with this engine because it's not designed such that you can see over walls...
  29. calc84maniac calc84maniac posted on thread Decimal -> Binary I would do something like this: DEF CHECKBITS(C%,B%,MASK%) RETURN ((C% XOR B%) AND MASK%)==0...
  30. calc84maniac calc84maniac posted on thread How do you make the keyboard dissappear? Use the DISPLAY command.
  31. calc84maniac calc84maniac replied to a comment on Spooky Maze (Raycaster) It would be an honor! I definitely approve. Let me know if you would like me to provide any comme...
  32. calc84maniac calc84maniac posted on thread Sprite Width callback Actually, SPSC only returns TRUE or FALSE for the scaling. You'd have to do SPSCALE 0 OUT SCX,SC...
  33. calc84maniac calc84maniac posted on thread Sprite Width callback If I'm reading the documentation correctly, you can use SPCOL to enable a collision box for the...
  34. calc84maniac calc84maniac posted on thread Does anyone know how to load custom SPDEF files? Well, that's enough elements for 5852 sprite definitions, which is more than the 4096 slots avai...
  35. calc84maniac calc84maniac posted on thread SPANIM overrides SPHOME Are you using sprite definition numbers for the animation? Those include SPHOME data. You might...
  36. calc84maniac calc84maniac posted on thread lmao nope Those are more powerful than the NES processor-wise. Though of course, you don't have to emulate...
  37. calc84maniac calc84maniac posted on thread How do I "Unfade"? You should fade to a color with an alpha value of 0 (so effectively the fading filter is transpa...
  38. calc84maniac calc84maniac posted on thread Cost of CHKWHATEVS and the empty string It's the same string - though if it was defined as a local variable in PRG2 then that local refe...
  39. calc84maniac calc84maniac posted on thread Cost of CHKWHATEVS and the empty string The CHK functions can't be any more expensive than the overhead of actually using CALL or RESTOR...
  40. calc84maniac calc84maniac posted on thread Website back or something, chat disabled Have you perhaps considered that monetary incentive is not a prerequisite for helping someone?
  41. calc84maniac calc84maniac posted on thread Strings being Arrays That's what is commonly known as a "null character", but it holds no special meaning in SmileB...
  42. calc84maniac calc84maniac posted on thread Website back or something, chat disabled We've already got #smilebasic on Freenode as far as IRC is concerned.
  43. calc84maniac calc84maniac posted on thread CLEAR, DIM cannot be on the same line. Variables are automatically cleared from a program slot when you RUN, EXEC, or USE it, so CLEAR...
  44. calc84maniac calc84maniac posted on thread Website back or something, chat disabled Good to see the site back. I think removing chat probably was the best idea for now (even if I c...
  45. calc84maniac calc84maniac posted on thread Lossless floating-point to string conversion, and back. You can use any of the 65536 character values, but ones that are undefined will all map to the s...
  46. calc84maniac calc84maniac replied to a comment on Spooky Maze (Raycaster) It is included as a separate program file, along with some hefty documentation in the comments. E...
  47. calc84maniac calc84maniac posted on thread Is there a quick way to 'redimension' arrays? Actually, I recently found out that there is a way to access variables given the string of its n...
  48. calc84maniac calc84maniac posted on thread FOR variable changes That's the exact opposite of having arbitrary nesting, if you have to give a name to every one...
  49. calc84maniac calc84maniac posted on thread FOR variable changes I could see using an array element as a FOR variable being useful in a situation where you're us...
  50. calc84maniac calc84maniac posted on thread Infinity and Not a Number The easiest way I've found is to use POW to make infinity, like POW(10,309). And you can multipl...

Send message to calc84maniac

Message sent!