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 - Keoni29

Pages: 1 ... 137 138 [139] 140 141 ... 168
2071
Axe / Re: Routines
« on: January 31, 2012, 07:16:13 am »
http://ourl.ca/15074
A routine which draws a sprite scaled.

2072
Axe / EXA: Scale up sprites
« on: January 31, 2012, 05:06:46 am »
Have you ever wanted to scale up a sprite? Use this AXE subroutine:
Code: [Select]
Lbl SPR
For(A,0,7
{r5+A}->r6
For(B,0,7
If r6^2
Rect(B*r3+r1,A*r4+r2,r3,r4
End
r6/2->r6
End
End
Now use this code to call the subroutine:
Code: [Select]
SPR(x,y,w,h,pic
It uses rectangles of size w,h to display the sprite. I guess this code can be optimized, but it does the job.

For example:
Code: [Select]
.SPRITESC
[3C42A581A599423C]->Pic1
ClrDraw
For(A,2,10
SPR(5,5,C,C/2,Pic1
Pause 300
DispGraphClrDraw
End
Pause 1000
Return
Lbl SPR
For(A,0,7
{r5+A}->r6
For(B,0,7
If r6^2
Rect(B*r3+r1,A*r4+r2,r3,r4
End
r6/2->r6
End
End

I hope you find this information helpful. Please leave suggestions and or questions.

2073
Other / Re: electronic project
« on: January 30, 2012, 03:57:07 pm »
Use lightbulbs instead if you want to be completely safe (or tie a 1k resistor to the led)

2074
Other / Re: electronic project
« on: January 30, 2012, 02:16:13 pm »
i thought of starting with some simple led manipulations, in combination with potentiometers, buttons, transistors etc

i really don't know how you could make a voltage regulator, do you have some schematics of it?
No, but the internet has.

2075
Other / Re: electronic project
« on: January 30, 2012, 01:55:25 pm »
Do you have something in mind? I built logic gates and voltage regulators to start with.

2076
Other / Re: electronic project
« on: January 30, 2012, 01:33:24 pm »
it probably would work for something right away to get an idea about some of the arduino stuff
But... but in the beginpost he stated that he didn't want to venture into arduino or other digital things.

2077
TI Z80 / Re: [WIP] TI84+ Herocore clone
« on: January 30, 2012, 01:01:47 pm »
I am gonna work on HeroCore on fridays. I have just 2 hrs of school then with my new schedule.

2078
Write em on the back of your calc ;D

2079
Music Showcase / Re: Music for Supreme Commander
« on: January 30, 2012, 12:55:01 pm »
Some weird issues with the rar files. Can you fix those?

2080
Other / Re: electronic project
« on: January 30, 2012, 12:37:40 pm »
You won't learn anything about electronics with that thing. Buy a small prototyping board and some components and start experimenting. That's how I learned it :)

2081
Humour and Jokes / Re: Insane Troll Logic Contest
« on: January 23, 2012, 01:10:28 pm »
I made this a while ago. This is trollscience 8)

2082
Other / Re: Juju's Handheld Console
« on: January 17, 2012, 07:55:35 am »
Sounds nice. Or else I heard you can use the Commodore 64 sound chip.
Of course! You can attach any digital device. You just need a driver.

2083
Other / Re: Juju's Handheld Console
« on: January 13, 2012, 04:05:30 am »
A NE555 osc connected to the pwm output with a lowpassfilter works as well.
What is it?
Analog electronics :) The arduino has PWM(pulse width modulation) right? Attach a lowpassfilter(look it up) to fill up the gaps between pulses to make a constant voltage output. Feed this signal called CV(controll voltage) into a NE555 chip oscilator circuit to produce a squarewave. You can also attach other types of oscillators.

2084
Other / Re: TI-Nterface (my version of labpro)
« on: January 12, 2012, 12:15:15 pm »
Oh ok I was sure it was pretty soon, like tomorrow, and that you already finished the prototype. :P
I wish I had, but things went a little different.

2085
Other / Re: TI-Nterface (my version of labpro)
« on: January 12, 2012, 02:05:30 am »
I just printed my essay. I woke up earlier to make a presentation for Life Science and Technology :P So much to do. Tomorrow a Dutch test and more tests next week. My presentation is February 20th. I really hope I have a working prototype by then.

Pages: 1 ... 137 138 [139] 140 141 ... 168