-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|664|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-




Dan

Advanced Degaussing Simulator

13th May 2020

From what i have read, these functions make only a screenshots of the running app/game.

for the decls:

gdi32.decls needs following entries :
[code]
.lib ''gdi32.dll''
BitBlt% (hDestDC%, x%, y%, nWidth%, nHeight%, hSrcDC%, xSrc%, ySrc%, dwR*snip*


Afr0

Scaling terrain...

3rd April 2020

Well, I finally got the city renderer working, at least. I still need to make it bigger, but I sorted out some texturing issues I was having. The original heightmap was rotated by ~45 degrees to make it fit into a POW2 texture (512x512). So I had to rotate*snip*


Jayenkai

Cipher/Decipher Testing (with Xor)

3rd April 2020

Increase complexity with a Keyword.

Keyword$=''This Is My Encryption Key''

And then within your loop, instead of always using the same zahl value, grab zahl as the ascii value of the wrapped character in the keyword.

[code]
For oft = 1 T*snip*


Dan

Cipher/Decipher Testing (with Xor)

3rd April 2020

Hi,
i have found this code, over on the [url=https://www.blitzforum.de/]german blitzbasic forum[/url], for simple de/ciphering of the text, using xor.

I made two functions of it and added arrow keys control, to display the results.
Left + right move*snip*


Afr0

Scaling terrain...

15th March 2020

I'm trying to make [technically: recreate] a terrain renderer. So far I have the heightmap renderer working, and the shader for shading the terrain. But I need to make the terrain like.... ten times bigger. That's what the original renderer did. So*snip*


Dan

String byte packer/unpacker (crucher ?!)

29th February 2020

Pack/crunch a string, containing 2 bytes data


Krakatomato

BitDefender alerts

26th February 2020

Viewing the site today and BitDefender is constantly alerting me to ''Suspicious connection blocked''. Details is as follows:

[code]Feature:
Online Threat Prevention

chrome.exe attempted to establish a connection relying on an unmatching se*snip*


Jayenkai

FUZE Switch

19th February 2020

Sprite Stress Test - Fuze vs Petit Switch

Code style is horrendous, and both programs have their own ways of doing things, but the general gist of the code is this..
[code]
Loop
CLS

Tops=???
For n=0 to Tops
SetSprite n to draw image n%5
SetSp*snip*


Jayenkai

Eighteen...

17th February 2020

Odd thing..

This week's Foldapuz, I thought ''OK, let's make some kind of Number Crossword''
4 digit PINs where all the 4 digits all add up to the same value.
5 of such PINs, with digits 0 to 9 each being represented twice, and the PIN*snip*


Jayenkai

AGameAWeek 2020

25th January 2020

the ''lap'' game?!


For Take This Torch, I used an extremely lazy method.
[code]
for x=0 to w
for y=0 to h
grid[x,y]=1
if ( (x%2)==1 && (y%2)==1 ) {grid[x,y]=0;}
next
next
[/code]

so that there's a grid of 0's (1*snip*


Jayenkai

Caching Issues

12th January 2020

OK, I *think* I've solved the issue.
The solution is a little* bit counter-intuitive, but that's because all of this is completely dumb. So, you know.. Gonna be like that!!


In order to cache the files correctly, you need to open .htaccess, *snip*


Jayenkai

Advent of Creativity 2

23rd December 2019

version ''b'', cursors and A-Z to zoom and twirl around.

Code
[spoiler]
[code]
Graphics3D 1024,768,0,2
AntiAlias True

Global full=0

Global Tbuild[20]
Global Bbuild[20]

Global cam,campivot

Global globe[10]
Global ga#[10],gb#[10]*snip*


Jayenkai

What Have You Done - 2019

23rd December 2019

[h1]Ups[/h1]
[b]What did you get done this year?[/b]
[*]So many games.

[b]Did everything turn out as planned?[/b]
Nope. Sure didn't.
I abandoned my lovely C++ framework and shifted over to 100% JavaScript gamedev.
I've lost a ton of abilit*snip*


Jayenkai

Advent of Creativity 2

23rd December 2019

[h3]Day Twenty Three[/h3]

After Saturday's disaster of a day, I opted to try my hand at something that I could at least manage to finish off without catastrophic failure.

[thumb]https://socoder.net/uploads/1/2019/52/snowglobe_2019.png[/thumb]

*snip*


Jayenkai

Advent of Creativity 2

2nd December 2019

[h3]Day Two[/h3]

Since this month is ''Don't worry about doing 4 games a week, and calm down a bit, ffs!'' month, I've elected to try to fix up a few issues that have cropped up along the way. (Feel free to suggest bugs I can fix, and f*snip*


shroom_monk

Advent of Creativity 2

1st December 2019

Last year I made a bunch of models in Blender. This year, my medium of choice is... [url=www.shadertoy.com]ShaderToy[/url]. Similarly to last year, I have a little bit of experience in this kind of thing, but not a lot. So let's see how this goes!

F*snip*


Pakz

Orientation of point vs line

24th November 2019

Is a point left or center or right of a line


Pakz

Convex Hull or Gift Wrapping algorithm

21st November 2019

create lines around set of points.


Pakz

Polygon vs Polygon Collision

13th November 2019

Is one polygon colliding with another polygon


Tricky

Coding in NIL

11th November 2019

In order to elaborate a bit more on things NIL can do, which Lua can't.... Lua has no constant support.... Well, neither has NIL, but NIL does offer something in return, so that way, I can get rid of ''magic numbers''.
[code]
#macro __myname *snip*


Dan

[BUG] Loading Images after (multiple) Graphics change

6th November 2019

Ok i'v been playing around with the code in my 1st post.

Here are the, and i have to say, strange results. At least for the last two examples:

If the images are unloaded before the graphic call, like this:

[code]
FreeImage img_font : img_fo*snip*


Dan

[BUG] Loading Images after (multiple) Graphics change

6th November 2019

Yeah. I it's done.

Basically, the game does not need a resolution change, because only the window size is changed for every option (borderless, desktop, and size: 1*,2*,3*,4*'')

But to get back to the resizeable window from the Faked fullscr*snip*


Dan

[BUG] Loading Images after (multiple) Graphics change

4th November 2019

Needed image: [img]https://socoder.net/uploads/1082/MyAmigaFont8x8x89.png[/img]


Hi,
In my current project, i have implemented the loading of images from the source code.

Everything worked seemingly fine, before.

But now, occasionally, the game*snip*


Pakz

Point versus Polygon Collision

2nd November 2019

Check if a point is inside a polygon


Dan

finding font widths?

2nd November 2019

ok here it the corrected code:

[code]
If width_found=0 And (red<>bgred or green<>bggreen or blue<>bgblue) Then
[/code]

and the code as whole:

[code]
;Graphics 1024,768

Graphics 320,240,0,2
Graphics 320,240,0,3

Global Fn*snip*

More - Older Posts