Skip to content

Releases: Rifqi2007c/dcs-project-git

update 5

Choose a tag to compare

@Rifqi2007c Rifqi2007c released this 01 Mar 21:14
6da7f9c

update 5

todo

  • hitbox
  • enemy animation
  • player/enemy health
  • loose/win mechanic
  • main menu, pause
  • background sprite

todo after

  • more level
    - [ ] save player data

changes

  • attack tak boleh hold kene tekan berkali-kali
  • attack tunggu animasi tamat sebulum attack lagi sekali

#4 new feature + improvement

Choose a tag to compare

@Rifqi2007c Rifqi2007c released this 26 Feb 03:08
5232755

"feature tu, feature ni dan improvement~. that`s that, and this is this."

new feature + improvment

  • deltaTime implementation:
    • player movement
    • enemy movement
  • enemy
    • add spwan randomly / 3 seconds
    • add enemy follow player
  • sprite improment + new
    • player
    • sword
    • enemy sprite (new)

player dengan senjata punye sprite di pisahkan untuk animating dengan feature akan datang

  • animation
    • add player walking animation
    • add sword attack animation

logical improvment

  • semua object diberi speed dan clock
  • textureRect gune variable, tak direct untuk senang nak call ciri - ciri untuk diubah macam animation
  • player dan sword ada center origin untuk improve player texture bile bergerak

todo improment (optional)

  • animation
    • buat sword animastion tamat seblum berhenti attack

"belum jadi game lagi ni."

todo

  • hitbox
  • enemy animation
  • player/enemy health
  • loose/win mechanic
  • main menu, pause
  • background sprite

todo after

  • more level
  • save player data

#3 update guide untuk vscode

Choose a tag to compare

@Rifqi2007c Rifqi2007c released this 26 Feb 02:44
5232755

"vscode, pls compile."

masalah dalam vscode

  • tak jumpe library
  • tak jumpe compiler

"mungkin lagi bagus buat cara manual."

solution

  • letak compiler dengan library sfml dalam C: drive
    • untuk vscode boleh detect bila pakai UI config
    • memudahkan bile nak masukkan directory location dalam json config
  • tukar jadi absolute path
  • guide.md update

#2 tukar concept + windows test2 (vscode)

Choose a tag to compare

@Rifqi2007c Rifqi2007c released this 26 Feb 02:26
5232755

"conecpt plane shooter rase macam susah. tukar jadi macam rpg"

# 2 tukar conept

  • buat player sprite
    • animation
    • spritesheet untuk animation
  • implement spritesheet
    • attack button + animated attack

"demi memudahkan team, try pakai vscode supaya team tak perlu download 3+ gb app untuk mungkin sekali gune"

vscode

  • tukar ke vscode
  • pakai mingw compiler
  • cara semi automation (non-absolute path ke vscode)
  • guide.md

"ah, macam ni rupenye."

bug fix

  • OS input delay dalam game
  • mouse bug (refer # 1)

#1 mula project + windows test (visual studio)

Choose a tag to compare

@Rifqi2007c Rifqi2007c released this 26 Feb 02:13
5232755

"concept ape yang senang? game macam 90an plane shooter mungkin."

# 1 mula project

  • letak sprite
  • buat keyboard input untuk gerakkan object (player)

"try buat dalam windows sekali untuk pastikan game tu ok dalam windows. hah...... windows"

  • cuba pakai visual studio

"haaaaaahhhh...... ade bug pulak."

bug

  • dalam game ade OS delay input
  • mouse bug
    • bile gerakkan mouse, keyboard input jadi laju

#0 test project

Choose a tag to compare

@Rifqi2007c Rifqi2007c released this 26 Feb 02:01
5232755

"buat game pakai full c++".
jumpe sfml

sfml?

Simple and Fast Multimedia Library.

  • library untuk display graphics untuk multimedia app
  • support semua sistem yang boleh display graphics
  • official code language, c++. tapi boleh code dalam banyak language

#0 test project

  • draw window
  • render image
  • render text
  • image manipulation (scalling, position,)