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




Jayenkai

Getting Back to iOS Dev

20th March 2024

(Image.png)
Today's work has been mostly focussed on Touch events.
My god, what a mess that was. Thank the lord for the chatbots, that's all I can say!
Inside GameScene.swift
[code] override func touchesBegan(_ touches: Set<UITouch&g*snip*


Pakz

OpenAI Chat

19th March 2024

Been testing out the LLM's . It seems I might be able to create an entire voxel 'ala' Minecraft world. Without using a external layer like Three.js. Or even a complex system like that included with javascript. Though, it uses no 3d acceleration*snip*


Jayenkai

Getting Back to iOS Dev

14th March 2024

[code]
iTxt=''Mills() = \\(Mills())\\nRand() = \\(Rand(0,100))'';
var g:Double;
for m in (0...1000) {
g=Double(m)*3.6+Mills()*0.001;
InkRot(g,1,1,1);
SetRot(g*0.25);
SetSize(sin(g*0.7)*256.0,cos(g*0.3*snip*


Jayenkai

Getting Back to iOS Dev

14th March 2024

Let's make an array of 5000x50 elements..
BASIC
[code]Dim JDo(5000,50)[/code]
''Swift'' is it fuck..
[code]public var JDo = [[Double]](repeating: [Double](repeating: 0.0, count: 50), count: 5000)[/code]


Pakz

Getting Back to iOS Dev

14th March 2024

Got me kind of interested in the for loops now. The for loops seem quite different in Swift 3.
[code]
INCREMENTING
for i in 0 ..< len {
}
DECREMENTING
for i in (0 ..< len).reverse() {
}
NON-SEQUENTIAL INDEXING
Using where
for i in (0 ..<*snip*


Jayenkai

Scrolling tiles

12th March 2024

Indeed, that's an odd one! Doesn't look like it should be a float issue, but as Pakz says, there's a vague possibility that it might be.
[code]For x
ix=int(x)
Use ix
Next[/code]


spinal

Scrolling tiles

8th March 2024

Because my method involves upscaling by hand, using writepixelfast turns out to be slower (more loops), so my method is good enough for my use case.
[code]
Function grabBackground(x, y)
pauseSprite = CreateImage (160*pixelScale, 128*pixelScale)
MaskI*snip*


Pakz

Old computer

7th March 2024

My mum has been trying to fix her home. Getting rid of lots of old stuff. She asked if I wanted my stepfathers old computer and monitor. An old desktop Celeron J3060 with 4gb of memory. It took me close to 2 days before it got updated. Old fashioned HDD. B*snip*


Jayenkai

Getting Back to iOS Dev

6th March 2024

(Image.png)
Has this really taken me three days to work out?
In the above screenshot, every frame the label is changed to show Mills and a Rand number.
Mills() and Rand(a,b) are functions inside my JFrame.swift script
In the project, a JCode ''*snip*


spinal

Scrolling tiles

2nd March 2024

Came back to it later.... I was thinking about it all wrong.
[code]
Function renderLevel()
Local scrollX = (player\\x + (TILESIZE/2)) - ((SCREENWIDTH/SCREENSCALE)/2)
Local scrollY = (player\\y + (TILESIZE/2)) - ((SCREENHEIGHT/SCREENSCALE)/2)
Local XT*snip*


Jayenkai

What Have You Done - February 2024

1st March 2024

Ups
What did you get done this Month?
[*]JSE For-Loop Improvement
[*]Megaball Clone
[*]Hula Hoop Song
[*]More
Did everything turn out as planned?
I think so, all except this past week or two, when things took a bit of a downturn.
Doctor put me on a*snip*


spinal

Scrolling tiles

29th February 2024

It's been a little while since I tried this and I seem to have it all backwards. I can't get my brain to go in the right direction.
2024/09/Game_01_fail (.zip)
I think its mostly the render function that's wrong, but it might be more. I'm*snip*


Pakz

2d polygon isometric tile map with height

21st February 2024

Just like powermonger or populous


Pakz

Worm like herds.

15th February 2024

Gemini made a herd of wondering worm cattle


spinal

ball physics?

19th December 2023

Been trying to get chatgpt to convert this (Linkage) to blitz3d...
[code]
Graphics3D 800, 600, 32, 2
Const W = GraphicsWidth()
Const H = GraphicsHeight()
Global numBalls = 30
Global gravX = 0
Global gravY = -0.1
Type Ball
Field x
Field y
*snip*


Jayenkai

QOTD - December 2023

19th December 2023

[code]10 Print ''Hello World''
20 Goto 42[/code]


Dan

Modern Web Design

4th December 2023

with the adblock on, the site does not scroll and there is no ''accept cookies'' window.
but, if you save this as a bookmark (name: Move frozen webpage with a y keys) you can scroll it:
[code]
javascript:function KeyPress(e) { var evtobj = wind*snip*


Jayenkai

Win11Arm

30th November 2023

(Image.png) (Image.png)
It's the font.
It's the fucking font..*
And I went back and forth on this for a bit, but your game doesn't actually use a standard .ttf font, only a bitmap font.
OpenGL in Win11Arm must be fudging the defaul*snip*


Pakz

OpenAI Drama

23rd November 2023

I looked into that Q* thing. It is just some sort of version of the A* algorithm. But different. I have let chatGPT make me a version that uses 2d maps. But it took me a while to have it create a working version. (I can get used to coding like that though)*snip*


cyangames

If Not YouTube...

30th October 2023

Bitchutes integration looks fairly similar to youtubes
[code]<iframe width=''640'' height=''360'' scrolling=''no'' frameborder=''0'' style=''border: none;'' src=&quot (Linkage)[/code]
Obvs just replace my video *snip*


Jayenkai

JSE Syntax Tweaks

8th October 2023

The following things may or may not be incredibly important if you're a JSE user, so please take note.
1. RGB(r,g,b) is now a function, and returns a 24-bit integer, r<16+g<8+b
2. The RGB integers may now be used with ''most'' of the co*snip*


Afr0

It's gorgeous

24th September 2023

Does someone smarter than me have any idea how to place the camera correctly?
This is the best I've been able to do so far:
(Image.png)
Ideally we want something like this:
(Image.png)
[code] protected override void Draw(GameTime gameTi*snip*


Jayenkai

JSE - Optimisationalism 4

23rd September 2023

Worth posting this again, in case anyone else is working on something similar.
All the commands are turned into numerical values, and all those are in switch's.
This..
[code]
switch(command) {
case 1 : do command(); break;
case 2 : do command(); *snip*


Afr0

It's gorgeous

23rd September 2023

After God knows how many hours of faffing about, I finally have a working city renderer!
I suspect the texture mapping's off, and there's no real camera to speak of yet, but it works! And Lord allmighty does it look good.
(Image.png)
What need*snip*


spinal

N64 Controller Project...

8th September 2023

Modded the code a little for potential speed ups, only by removing function calls to abs().
[code]
#define xPin A2 // select the input pin for the potentiometer
#define yPin A1 // select the input pin for the potentiometer
#define XA 6
#define*snip*

More - Older Posts