Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - MacBernick

Pages: 1 [2] 3 4 ... 7
16
HP Calculators / Re: Life Force for the HP Prime
« on: January 18, 2014, 07:27:06 am »
That looks very nice. Do you have any idea how you will implement collisions detection yet ?

17
Thanks for this syntax, I didn't see it in documentation.

I really don't see how anyone could figure out that inserting at index 0 would push a value at the end of the list, and I don't want to know the logic behind this ^^

Thank you for your fast answers.

18
This OS is a mess :(

19
I think I ran into a bug, sorry if it has already been reported.

The append() function seems to be broken when using non-exported globals. Look at this code :

Code: [Select]
lst;

EXPORT appendTest()
BEGIN
  RECT();
  lst := {1,2,3};
  TEXTOUT_P(lst,0,0);
  lst := append(lst, 4);
  TEXTOUT_P(lst,0,20);
  FREEZE;
END;

The output is in the attached screenshot. It produces a Bad Argument error, and the funniest : variable lst seems to contain the error message as a string.
If adding EXPORT to variable declaration it works fine.


20
WabbitStudio Software Suite / Re: CSE support for Wabbitemu ?
« on: January 16, 2014, 05:39:33 pm »
I'd be very interested too, even if not so young anymore :p

21
HP Calculators / Re: Fast filled circles routine
« on: January 15, 2014, 10:01:26 pm »
I'm not sure MAKEMAT would support multiple statements. Did you try it ?

I replaced the two FOR loops in render routine in Trailblazer by a MAKEELIST, that's about 3 or 4 FPS earned.

If I got it right, only a Home variable can be used with MAKELIST ?

22
HP Calculators / Re: Fast filled circles routine
« on: January 15, 2014, 10:02:49 am »
Yeah that's clever. FOR loops deprecated ? ^^

23
Official Contest / Re: TI-Concours 2014
« on: January 15, 2014, 09:32:45 am »
Too bad that's my only TI calc. I'll have to wait next year I guess.

24
Official Contest / Re: TI-Concours 2014
« on: January 15, 2014, 09:30:09 am »
Why is PCSE excluded ?

25
HP Calculators / Fast filled circles routine
« on: January 15, 2014, 09:18:39 am »
After a discussion an another thread about filled circles, I made a little program using FILLPOLY_P to simulate a fillled circle. It was really slow because of the use of a FOR loop to make a list of coordinates to feed the FILLPOLY function. One day Han told me it would be more efficient to call MAKELIST for building lists, so I modified it a bit, and this is now REALLY faster :)

You can push the attached program in your calc or the simulator, run "circles" for a quick demo drawing random circles on screen at a nice speed, or use the EXPORTed FILLCIRCLE_P(centerX, centerY, radius, color) function in your program.

You can also copy/past the function in your program if you want to use it but don't want to rely on an external lib.

NB : these are not perfect circles, they are not suitable for mathematics purposes. Also, very small circle may look weird.

Enjoy

26
HP Calculators / Re: Life Force for the HP Prime
« on: January 15, 2014, 09:08:38 am »
Nice, can't wait to see it running.

27
Art / Re: Font Contest CSE
« on: January 13, 2014, 11:23:33 am »
I'll do it tonight.

28
Art / Re: Font Contest CSE
« on: January 13, 2014, 11:21:03 am »
Thanks.

I have edited my post while you were answering adding a question : And this is 10px height and any width (proportional font) right ?

29
Art / Re: Font Contest CSE
« on: January 13, 2014, 11:15:29 am »
What are the allowed colors by the way ? I have a CSE but I don't use it much ^^
And this is 10px height and any width (proportional font) right ?

30
HP Calculators / Re: Columns scoring rules
« on: January 13, 2014, 11:12:06 am »
I have attached it to this reply.

Thank you :)

Pages: 1 [2] 3 4 ... 7