Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
23 May, 2013, 02:34:08 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1]   Go Down
  Print  
Author Topic: Problème Pt-change() -  (Read 274 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
Stryars
LV1 Newcomer (Next: 20)
*
Offline Offline

Gender: Male
Last Login: 11 December, 2012, 21:03:11
Date Registered: 08 March, 2012, 20:55:25
Location: France
Posts: 12


Topic starter
Total Post Ratings: 0

View Profile WWW
« on: 12 March, 2012, 19:25:30 »
0

Bonjour bonjour!
Alors voilà, j'ai depuis ce matin un petit problème: mon Pt-change ne fonctionne plus... Du moins plus correctement:

Par exemple pour le sprite [0004020102040000], qui représente tout simplement une petite flèche, le Pt-change() va l'afficher, en supprimant tous les pixels derrière (comme le ferait un Pt-on()). Tandis que le Pt-on()va lui prendre la place du Pt-off(), et le Pt-off() va lui faire  peut près la même chose que le Pt-change(), mais si on déplace la flèche (avec un Pt/DispGraph/Pt), la flèche ne disparaîtra pas de sa position précédente.

Pourtant, ce bug n'est apparent que sur un seul de mes programmes (malheureusement en cours de développement et le plus important...) et pas sur les autres...

Quelqu'un aurait-il une solution?

Bonne soirée!
Logged

Space Axe: Just a little 10%
Torio
LV3 Member (Next: 100)
***
Offline Offline

Gender: Male
Last Login: 18 May, 2013, 18:43:54
Date Registered: 24 January, 2012, 18:53:25
Location: France
Posts: 82

Total Post Ratings: +22

View Profile
« Reply #1 on: 12 March, 2012, 19:32:56 »
0

Salut,
Il faudrait que tu postes ton code car là c'est difficile d'y voir clair...
Et aussi, il me semble que c'est Pt-Off() qui affiche en supprimant les pixels derrière ?

Torio
« Last Edit: 12 March, 2012, 19:33:18 by Torio » Logged

Sorry about my mistakes, I'm French.

Projects :  Pokemon TI-89 | Ti-Tank
kindermoumoute
LV8 Addict (Next: 1000)
********
Offline Offline

Last Login: 20 May, 2013, 23:02:59
Date Registered: 15 May, 2010, 17:53:56
Posts: 836


Total Post Ratings: +51

View Profile
« Reply #2 on: 12 March, 2012, 19:48:36 »
0

Comme l'a dit torio, le problème vient très probablement de ton code. Pt-Change() inverse tous les pixels, Pt-On() affiche seulement les pixels noir, et Pt-Off() affiche le blanc et noir.

Si le bug persiste, il faut reporter le bug avec un code et un screen si tu veux que ce soit traité rapidement.
Logged

Projects :

Worms armageddon z80 :
- smoothscrolling Pixelmapping : 100%
- Map editor : 80%
- Game System : 0%

Tutoriel français sur l'Axe Parser
- 1ère partie : en ligne.
- 2ème partie : en ligne.
- 3ème partie : en ligne.
- 4ème partie : 10%
- Annexe : 100%
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.19 seconds with 30 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.