this post was submitted on 17 Oct 2024
1005 points (99.0% liked)

RetroGaming

19338 readers
1642 users here now

Vintage gaming community.

Rules:

  1. Be kind.
  2. No spam or soliciting for money.
  3. No racism or other bigotry allowed.
  4. Obviously nothing illegal.

If you see these please report them.

founded 1 year ago
MODERATORS
 
(page 2) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 49 points 20 hours ago (4 children)

Step 1: Begin writing in Assembly

Step 2: Write C

Step 3: Use C to write C#

Step 4: Implement Unity

Step 5: Write your game

Step 6: ???

Step 7: Profit

[–] [email protected] 30 points 18 hours ago

Step 6 extort developers

[–] [email protected] 33 points 18 hours ago
[–] [email protected] 9 points 17 hours ago (2 children)

Good thing I wrote my own game engine using D, and soon there will be 2 (known) games for it.

[–] [email protected] 5 points 15 hours ago

I'm on E already

[–] [email protected] 4 points 16 hours ago (1 children)

D

Don't give me hope.

I was really into D, but I gave up on it because it seemed kind of dead. It's often not mentioned in long lists of languages (i.e. I think Stack Overflow's report did not mention it), and I think I remember once looking at a list of projects that used D and most of them were dead. I think I also remember once seeing a list of companies that used D, and when I looked up one of them I found out it didn't exist anymore 😐️

load more comments (1 replies)
[–] [email protected] 7 points 17 hours ago (1 children)

Step 0: Invent the universe

[–] [email protected] 7 points 16 hours ago

What are we doing here? Baking a pie?

[–] [email protected] 25 points 18 hours ago (1 children)

They call me the Programmer and I speak to the metal,

Now check out this app, that really shows off my mettle!

[–] [email protected] 1 points 12 hours ago

where's your furry cracktro then??

[–] [email protected] 37 points 20 hours ago (1 children)

I mean, I'm pretty sure it would be a good learning experience so I would really not regret it.

[–] [email protected] 30 points 20 hours ago (3 children)

I tried decades ago. Grew up learning BASIC and then C, how hard could it be? For a 12 year old with no formal teacher and only books to go off of, it turns out, very. I've learned a lot of coding languages on my own since, but I still can't make heads or tales of assembly.

[–] [email protected] 8 points 15 hours ago (1 children)

Try 6502 assembly. https://skilldrick.github.io/easy6502/

My favorite assembly language by far.

[–] [email protected] 1 points 12 hours ago

this page is great. starting right at "draw some pixels" in such a simple way just instantly makes it feel a bit more approachable!

[–] [email protected] 23 points 19 hours ago (1 children)

Assembly requires a knowledge of the cpu architecture pipeline and memory storage addressing. Those concepts are generally abstracted away in modern languages

[–] WolfLink 12 points 19 hours ago* (last edited 19 hours ago) (1 children)

You don’t need to know the details of the CPU architecture and pipeline, just the instruction set.

Memory addressing is barely abstracted in C, and indexing in some form of list is common in most programming languages, so I don’t think that’s too hard to learn.

You might need to learn the details of the OS. That would get more complicated.

[–] [email protected] 7 points 17 hours ago

I said modern programming languages. I do not consider C a modern language. The point still stands about abstraction in modern languages. You don’t need to understand memory allocation to code in modern languages, but the understanding will greatly benefit you.

I still contend that knowledge of the cpu pipeline is important or else your code will wind up with a bunch of code that is constantly resulting in CPU interrupts. I guess you could say you can code in assembly without knowledge of the cpu architecture, but you won’t be making any code that runs better the output code from other languages.

[–] [email protected] 5 points 19 hours ago (1 children)

Sounds very similar to my own experience though there was a large amount of Pascal in between BASIC and C.

[–] [email protected] 5 points 19 hours ago (1 children)

Yeah, I skipped Pascal, but it at least makes sense when you look at it. By the time my family finally jumped over to PC, C was more viable. Then in college, when I finally had to opportunity to formally learn, it was just C++ and HTML... We didn't even get Java!

[–] [email protected] 2 points 19 hours ago

I had used like four different flavors of BASIC by the time I got a IBM compatible PC, but I ended up getting on the Borland train and ended up with Turbo Pascal, Turbo C, and Turbo ASM (and Turbo C++ that I totally bounced off of). I was in the first class at my school that learned Java in college. It was the brand new version 1.0.6! It was so rough and new, but honestly I liked it. It's wildly different now.

[–] [email protected] 25 points 19 hours ago

Shifts bit to the left

Um what am I doing

Shifts bit to the right

program crashes

[–] [email protected] 15 points 17 hours ago (1 children)

Not Assembly, but HROT was written in Pascal by one person and runs buttery smooth.

[–] [email protected] 4 points 15 hours ago

Oooh! Know what I’m playing this weeeknd! Thanks!

[–] [email protected] 19 points 19 hours ago (1 children)
[–] [email protected] 15 points 18 hours ago (1 children)

I believe you meant to write genius.

[–] [email protected] 21 points 17 hours ago (1 children)
[–] Imgonnatrythis 4 points 16 hours ago

Who the hell even is Madam Chris Genius?

[–] DannyBoy 13 points 18 hours ago

This game ran so smooth.

[–] [email protected] 7 points 18 hours ago* (last edited 15 hours ago) (2 children)

Don’t Want to be that Guy but you can actually use libraries in Assembly and probably want to, as otherwise you have no good way of interacting with the os.

[–] [email protected] 14 points 17 hours ago

You can actually pluralize library and probably want to.

[–] [email protected] 7 points 16 hours ago

In fact Chris Sawyer did use C for the purposes of linking the OS libraries necessary for windowing, rendering, sound etc.

[–] themoonisacheese 8 points 19 hours ago

Reminder that ttd was open source even before open ttd :D

[–] [email protected] 3 points 19 hours ago

Is it only 500,000 lines?

[–] [email protected] 2 points 18 hours ago

you need all of that when writing a game in assembly. wtf do you think assembly is?

load more comments
view more: ‹ prev next ›